Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Learner
Http
Middleware
MustHaveRole
__construct
Learner\Http\Middleware\MustHaveRole::__construct PHP Method
MustHaveRole Class Documentation
Mostra file
Open project: RryLee/learner.video
__construct()
public
method
Creates a new instance of the middleware.
public
__construct
(
Illuminate\Contracts\Auth\Guard
$auth
)
$auth
Illuminate\Contracts\Auth\Guard
public function __construct(Guard $auth) { $this->auth = $auth; }
MustHaveRole
__construct
handle