AttributeRule
Less than 1 minute
AttributeRule
Methods
evaluate
Evaluate the attribute rule against the value.
public evaluate(mixed $value, \ReflectionProperty $property): boolParameters
| Parameter | Type | Description |
|---|---|---|
$value | mixed | |
$property | \ReflectionProperty |
serialize
Evaluate the attribute rule against the value when serializing.
public serialize(mixed $value, \ReflectionProperty $property, ?string $context): boolParameters
| Parameter | Type | Description |
|---|---|---|
$value | mixed | |
$property | \ReflectionProperty | |
$context | string |
Generated by Hazaar API Doc Generator on Mon, 27 Oct 2025 13:01:29 +0000