public function __construct($app, Factory $factory) { $this->app = $app; $this->factory = $factory; }