public function __construct(Application $app, Repository $repository) { $this->app = $app; $this->repository = $repository; }