PHP Class Dusterio\AwsWorker\Controllers\LaravelController

Show file Open project: dusterio/laravel-aws-worker

Protected Properties

Property Type Description
$middleware array The middleware defined on the controller.

Public Methods

Method Description
callAction ( string $method, array $parameters ) : Response 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.

Method Details

callAction() public method

Execute an action on the controller.
public callAction ( string $method, array $parameters ) : Response
$method string
$parameters array
return Symfony\Component\HttpFoundation\Response

getAfterFilters() public method

Get the registered "after" filters.
Deprecation: since version 5.1.
public getAfterFilters ( ) : array
return array

getBeforeFilters() public method

Get the registered "before" filters.
Deprecation: since version 5.1.
public getBeforeFilters ( ) : array
return array

getMiddleware() public method

Get the middleware assigned to the controller.
public getMiddleware ( ) : array
return array

getMiddlewareForMethod() public method

Get the middleware for a given method.
public getMiddlewareForMethod ( string $method ) : array
$method string
return array

middleware() public method

Define a middleware on the controller.
public middleware ( string $middleware, array $options = [] ) : void
$middleware string
$options array
return void

Property Details

$middleware protected property

The middleware defined on the controller.
protected array $middleware
return array