PropertyValueException
Less than 1 minute
PropertyValueException
Exception thrown when a property value cannot be implicitly converted to the required type.
This exception is typically thrown by the Model class when attempting to set a property with a value type that is not supported or cannot be cast to the defined property type.
Properties
propertyType
private string $propertyTypeMethods
__construct
public __construct(string $class, string $propertyName, string $propertyType, ?string $requiredType): voidParameters
| Parameter | Type | Description |
|---|---|---|
$class | string | |
$propertyName | string | |
$propertyType | string | |
$requiredType | string |
getPropertyType
Get the expected type of the property.
public getPropertyType(): stringGenerated by Hazaar API Doc Generator on Wed, 07 Jan 2026 11:29:59 +0000