public function __construct(User $user, UserRepo $userRepo) { $this->user = $user; $this->userRepo = $userRepo; parent::__construct(); }