Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Learner
Http
Middleware
MustHaveRole
__construct
Learner\Http\Middleware\MustHaveRole::__construct PHP Метод
Документация по классу MustHaveRole
Показать файл
Открыть проект
__construct()
публичный
Метод
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