Свойство | Type | Description | |
---|---|---|---|
$middleware | array | The middleware defined on the controller. |
Méthode | Description | |
---|---|---|
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 | |
Résultat |
public getAfterFilters ( ) : array | ||
Résultat | array |
public getBeforeFilters ( ) : array | ||
Résultat | array |
public getMiddleware ( ) : array | ||
Résultat | array |
public getMiddlewareForMethod ( string $method ) : array | ||
$method | string | |
Résultat | array |
protected array $middleware | ||
Résultat | array |