__construct() публичный Метод

public __construct ( AccountRepository $accountRepo, ContactMailer $contactMailer, UserMailer $userMailer, UserService $userService )
$accountRepo App\Ninja\Repositories\AccountRepository
$contactMailer App\Ninja\Mailers\ContactMailer
$userMailer App\Ninja\Mailers\UserMailer
$userService App\services\UserService
Пример #1
0
 /**
  * Initialize page controller.
  *
  * @param type PageRepositoryInterface $page
  *
  * @return type
  */
 public function __construct(PageRepositoryInterface $page)
 {
     $this->model = $page;
     parent::__construct();
 }
Пример #2
0
 /**
  * Initialize example controller.
  *
  * @param type ExampleRepositoryInterface $example
  *
  * @return type
  */
 public function __construct(ExampleRepositoryInterface $example)
 {
     $this->model = $example;
     $this->model->setUserFilter();
     parent::__construct();
 }
 /**
  * Create a new password controller instance.
  *
  * @return void
  */
 public function __construct()
 {
     $this->middleware('guest');
     parent::__construct();
 }
Пример #4
0
 public function __construct(PropertyServiceInterface $property_service)
 {
     parent::__construct();
     $this->property_service = $property_service;
 }
 /**
  * Initialize prefecture controller
  * @param type PrefectureRepositoryInterface $prefecture
  * @return type
  */
 public function __construct(PrefectureRepositoryInterface $prefecture)
 {
     $this->model = $prefecture;
     $this->model->setUserFilter();
     parent::__construct();
 }
Пример #6
0
 /**
  * Initialize reward controller
  * @param type RewardRepositoryInterface $reward
  * @return type
  */
 public function __construct(RewardRepositoryInterface $reward)
 {
     $this->model = $reward;
     $this->model->setUserFilter();
     parent::__construct();
 }
Пример #7
0
 /**
  * Initialize user controller.
  *
  * @param type UserRepository $user
  *
  * @return type
  */
 public function __construct(UserRepository $user)
 {
     $this->repository = $user;
     parent::__construct();
 }