Пример #1
0
 public function __construct(RoleRepository $role, PermissionRepository $perm)
 {
     $this->role = $role;
     $this->perm = $perm;
     parent::__construct();
 }
Пример #2
0
 public function __construct(UserRepository $user, RoleRepository $role)
 {
     $this->user = $user;
     $this->role = $role;
     parent::__construct();
 }