final class PropertyCannotBeSet extends DomainException (View source)

The exception to be thrown if a property was attempted to be set but cannot be

Methods

becauseTheValueDoesNotMatchTheConfiguredType(PropertyName $propertyName, string $attemptedType, string $configuredType)

No description

becauseTheNodeTypeDoesNotDeclareIt(PropertyName $propertyName, NodeTypeName $nodeTypeName)

No description

Details

static PropertyCannotBeSet becauseTheValueDoesNotMatchTheConfiguredType(PropertyName $propertyName, string $attemptedType, string $configuredType)

No description

Parameters

PropertyName $propertyName
string $attemptedType
string $configuredType

Return Value

PropertyCannotBeSet

static PropertyCannotBeSet becauseTheNodeTypeDoesNotDeclareIt(PropertyName $propertyName, NodeTypeName $nodeTypeName)

No description

Parameters

PropertyName $propertyName
NodeTypeName $nodeTypeName

Return Value

PropertyCannotBeSet