Example #1
0
 public function __construct(User $users)
 {
     $this->users = $users;
     // We use this in order to apply our middleware
     parent::__construct();
 }
 public function __construct(Page $pages)
 {
     $this->pages = $pages;
     parent::__construct();
 }
Example #3
0
 public function __construct(User $users)
 {
     $this->users = $users;
     parent::__construct();
 }