DefineEventHookException
Less than 1 minute
DefineEventHookException
Exception thrown when an event hook cannot be defined on a model class.
class DefineEventHookException extends \Hazaar\Model\Exception\ExceptionMethods
__construct
Constructs a new DefineEventHookException.
public __construct(string $class, string $hookName, ?string $reason): voidParameters
| Parameter | Type | Description |
|---|---|---|
$class | string | the name of the class where the event hook definition failed |
$hookName | string | the name of the event hook that could not be defined |
$reason | string | optional reason for the failure |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:23 +0000