public function __construct(UserRepositoryInterface $repository) { $this->repository = $repository; parent::__construct(); }