Exemplo n.º 1
0
 public function __construct(Encrypter $encrypter)
 {
     $routes = ['root-upload-image-ajax'];
     foreach ($routes as $route) {
         $this->except[] = trim(route($route, [], false), '/');
     }
     parent::__construct($encrypter);
 }
Exemplo n.º 2
0
 /**
  * VerifyCsrfToken constructor.
  *
  * @param \Illuminate\Contracts\Encryption\Encrypter $encrypter
  * @param \Illuminate\Routing\Router                 $router
  */
 public function __construct(Encrypter $encrypter, Router $router)
 {
     parent::__construct($encrypter);
     $this->router = $router;
 }
Exemplo n.º 3
0
 public function __construct(Application $application, Encrypter $encrypter)
 {
     parent::__construct($application, $encrypter);
     $this->except[] = config('auto-deploy.route');
 }
Exemplo n.º 4
0
 /**
  * Create a new middleware instance.
  *
  * @param  \Illuminate\Contracts\Encryption\Encrypter  $encrypter
  * @param  \Orchestra\Contracts\Foundation\Foundation  $foundation
  */
 public function __construct(Encrypter $encrypter, Foundation $foundation)
 {
     $this->foundation = $foundation;
     parent::__construct($encrypter);
 }
Exemplo n.º 5
0
 /**
  * {@inheritDoc}
  */
 public function __construct(Encrypter $encrypter, Router $router, Authentication $auth)
 {
     parent::__construct($encrypter);
     $this->router = $router;
     $this->auth = $auth;
 }