DefineRuleException
Less than 1 minute
DefineRuleException
Exception thrown when a rule does not exist in a model class.
class DefineRuleException extends \Hazaar\ExceptionExtends: Hazaar\Exception
Methods
__construct
Constructs a new DefineRuleException.
public __construct(string $class, string $ruleName): voidParameters
| Parameter | Type | Description |
|---|---|---|
$class | string | the name of the class where the rule definition failed |
$ruleName | string | the name of the rule that does not exist |
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:17 +0000