Class

eZ\Publish\API\Repository\Exceptions\PropertyReadOnlyException

class PropertyReadOnlyException extends Exception

This Exception is thrown on a write attempt in a read only property in a value object.

Methods

__construct(string $propertyName, string|null $className = null, Exception $previous = null)

Generates: Property '{$propertyName}' is readonly[ on class '{$className}'].

Details

at line 25
public __construct(string $propertyName, string|null $className = null, Exception $previous = null)

Generates: Property '{$propertyName}' is readonly[ on class '{$className}'].

Parameters

string $propertyName
string|null $className Optionally to specify class in abstract/parent classes
Exception $previous