프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |