Exemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     // Setup the IoC Container instance.
     $this->container = App::instance();
     // Setup the Middleware.
     $this->beforeFilter('@filterRequests');
 }
Exemplo n.º 2
0
 public function __construct()
 {
     parent::__construct();
     //restrict access to admin users only
     $this->beforeFilter('@adminUsersFilter');
 }
Exemplo n.º 3
0
 public function __construct()
 {
     parent::__construct();
     //
     $this->beforeFilter('@adminUsersFilter');
 }