Пример #1
0
 /**
  * @param LooEntityManager $entityManager
  * @param array            $hierarchy
  */
 public function __construct(LooEntityManager $entityManager, array $hierarchy)
 {
     parent::__construct($entityManager);
     $this->hierarchy = $hierarchy;
 }
Пример #2
0
 /**
  * @param LooEntityManager $entityManager
  * @param Session          $session
  * @param Users            $users
  */
 public function __construct(LooEntityManager $entityManager, Session $session, Users $users)
 {
     parent::__construct($entityManager);
     $this->session = $session;
     $this->users = $users;
 }
Пример #3
0
 /**
  * @param LooEntityManager $entityManager
  * @param Password         $password
  * @param Roles            $roles
  */
 public function __construct(LooEntityManager $entityManager, Password $password, Roles $roles)
 {
     parent::__construct($entityManager);
     $this->passwordHandler = $password;
     $this->roles = $roles;
 }