ActionNotPublic
Less than 1 minute
ActionNotPublic
Exception thrown when a targeted controller action is not publicly callable.
class ActionNotPublic extends \Hazaar\ExceptionExtends: Hazaar\Exception
Raised 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 Fri, 04 Sep 2026 23:32:16 +0000