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