Пример #1
0
 /**
  * @param ITranslator                 $translator
  * @param Repositories\UserRepository $userRepository
  * @param IMailer                     $mailer
  * @param string                      $appDir
  * @param string                      $contactEmail
  */
 public function __construct(ITranslator $translator, Repositories\UserRepository $userRepository, IMailer $mailer, $appDir, $contactEmail)
 {
     parent::__construct($translator);
     $this->userRepository = $userRepository;
     $this->mailer = $mailer;
     $this->appDir = $appDir;
     $this->contactEmail = $contactEmail;
 }
Пример #2
0
 /**
  * @param ITranslator                 $translator
  * @param Repositories\UserRepository $userRepository
  * @param Authenticator               $authenticator
  * @param IUserStorage                $userStorage
  * @param Entities\UserEntity         $item
  */
 public function __construct(ITranslator $translator, Repositories\UserRepository $userRepository, Authenticator $authenticator, IUserStorage $userStorage, Entities\UserEntity $item)
 {
     parent::__construct($translator);
     $this->userRepository = $userRepository;
     $this->authenticator = $authenticator;
     $this->userStorage = $userStorage;
     $this->item = $item;
 }
Пример #3
0
 public function __construct(ITranslator $translator, Repositories\UserRepository $userRepository, Entities\UserEntity $item)
 {
     parent::__construct($translator);
     $this->userRepository = $userRepository;
     $this->item = $item;
 }
Пример #4
0
 public function __construct(ITranslator $translator)
 {
     parent::__construct($translator);
 }
Пример #5
0
 public function __construct(ITranslator $translator, Repositories\TagRepository $tagRepository, Entities\UserEntity $user)
 {
     parent::__construct($translator);
     $this->tagRepository = $tagRepository;
     $this->user = $user;
 }