PHP Class Acoustep\EntrustGui\Http\Middleware\AdminAuth

From http://stackoverflow.com/a/29186175
Afficher le fichier Open project: acoustep/entrust-gui Class Usage Examples

Protected Properties

Свойство Type Description
$auth
$config
$redirect
$response

Méthodes publiques

Méthode Description
__construct ( Illuminate\Contracts\Auth\Guard $auth, Illuminate\Config\Repository $config, Illuminate\Http\Response $response, Redirector $redirect ) : void Create a new AdminAuth instance.
handle ( mixed $request, Closure $next ) : Illuminate\Http\Response Handle the request

Method Details

__construct() public méthode

Create a new AdminAuth instance.
public __construct ( Illuminate\Contracts\Auth\Guard $auth, Illuminate\Config\Repository $config, Illuminate\Http\Response $response, Redirector $redirect ) : void
$auth Illuminate\Contracts\Auth\Guard
$config Illuminate\Config\Repository
$response Illuminate\Http\Response
$redirect Illuminate\Routing\Redirector
Résultat void

handle() public méthode

Handle the request
public handle ( mixed $request, Closure $next ) : Illuminate\Http\Response
$request mixed
$next Closure
Résultat Illuminate\Http\Response

Property Details

$auth protected_oe property

protected $auth

$config protected_oe property

protected $config

$redirect protected_oe property

protected $redirect

$response protected_oe property

protected $response