PropertyAttributeException
Less than 1 minute
PropertyAttributeException
Exception thrown when there is an issue with a property attribute.
This 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
private Base $attributeMethods
__construct
public __construct(string $class, string $propertyName, Base $attribute): voidParameters
| Parameter | Type | Description |
|---|---|---|
$class | string | |
$propertyName | string | |
$attribute | Base |
getAttribute
Retrieves the attribute associated with the exception.
public getAttribute(): BaseGenerated by Hazaar API Doc Generator on Wed, 07 Jan 2026 11:29:59 +0000