PropertyAttributeException
Less than 1 minute
PropertyAttributeException
Exception thrown when there is an issue with a property attribute.
class PropertyAttributeException extends \Hazaar\Model\Exception\PropertyExceptionThis exception is used to indicate that a specific property within a class has encountered an error related to its attributes or type definition, providing a specific reason for the failure.
Properties
attribute
The attribute object that caused the exception.
private Base $attributeMethods
__construct
Constructs a new PropertyAttributeException.
public __construct(string $class, string $propertyName, Base $attribute): voidParameters
| Parameter | Type | Description |
|---|---|---|
$class | string | the name of the class containing the property |
$propertyName | string | the name of the property that caused the exception |
$attribute | Base | the attribute object that caused the exception |
getAttribute
Retrieves the attribute associated with the exception.
public getAttribute(): BaseGenerated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:23 +0000