public function boot() { parent::boot(); $this->userRepository = app()->make(UserRepositoryContract::class); }
public function boot() { parent::boot(); $this->userRepository = app()->make(UserRepositoryContract::class); $this->classRepository = app()->make(ClassRepositoryContract::class); $this->guardiansRepository = app()->make(GuardianRepositoryContract::class); }