Esempio n. 1
0
 public function __construct(User $users)
 {
     $this->users = $users;
     // So that the base controller we created gets the middleware
     // applied
     parent::__construct();
 }
Esempio n. 2
0
 public function __construct(Page $pages)
 {
     $this->pages = $pages;
     parent::__construct();
 }