Свойство | Тип | Описание | |
---|---|---|---|
$middleware | array | The middleware defined on the controller. |
Метод | Описание | |
---|---|---|
callAction ( string $method, array $parameters ) : |
Execute an action on the controller. | |
getAfterFilters ( ) : array | Get the registered "after" filters. | |
getBeforeFilters ( ) : array | Get the registered "before" filters. | |
getMiddleware ( ) : array | Get the middleware assigned to the controller. | |
getMiddlewareForMethod ( string $method ) : array | Get the middleware for a given method. | |
middleware ( string $middleware, array $options = [] ) : void | Define a middleware on the controller. |
public callAction ( string $method, array $parameters ) : |
||
$method | string | |
$parameters | array | |
Результат |
public getAfterFilters ( ) : array | ||
Результат | array |
public getBeforeFilters ( ) : array | ||
Результат | array |
public getMiddleware ( ) : array | ||
Результат | array |
public getMiddlewareForMethod ( string $method ) : array | ||
$method | string | |
Результат | array |
protected array $middleware | ||
Результат | array |