예제 #1
0
 public function __construct()
 {
     parent::__construct();
     $this->users = Sentinel::getUserRepository();
 }
예제 #2
0
 /**
  * Create a new controller instance.
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->middleware('admin');
 }
예제 #3
0
 public function __construct()
 {
     parent::__construct();
     $this->roles = Sentinel::getRoleRepository()->createModel();
 }
예제 #4
0
 /**
  * Constructor.
  *
  * @return void
  */
 public function __construct(User $users)
 {
     parent::__construct();
     $this->users = $users;
     $this->roles = Sentinel::getRoleRepository();
 }