ActionNotPublic
Less than 1 minute
ActionNotPublic
Exception thrown when a targeted controller action is not publicly callable.
class ActionNotPublic extends \Hazaar\Controller\Exception\ExceptionRaised during dispatch when the action method exists on the controller but does not have public visibility.
Methods
__construct
Creates a forbidden-action exception for a controller method.
public __construct(string $controller, string $action): voidParameters
| Parameter | Type | Description |
|---|---|---|
$controller | string | controller class name |
$action | string | non-public action method name |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:24 +0000