\Piko\Controller\Event\BeforeActionEvent
BeforeActionEvent is an event triggered before to call action method
Properties summary
Name | Description |
---|---|
public $actionId |
The action id |
public $controller |
|
public $params |
The action parameters |
Methods summary
Name | Description |
---|---|
public __construct |
Constructor |
Properties
public $actionId : string
The action id
public $controller : \Piko\Controller
public $params : array<string,mixed>
The action parameters
Methods
public __construct(): mixed
public __construct(\Piko\Controller $controller, string $actionId, array<string,mixed> $params = []): mixed
Parameters
$controller : A controller instance
$actionId :
$params (default: []): The action parameters
Return:
mixed