Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

Public Member Functions | List of all members
eZ\Publish\API\Repository\Exceptions\PropertyReadOnlyException Class Reference

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

Inheritance diagram for eZ\Publish\API\Repository\Exceptions\PropertyReadOnlyException:

## Public Member Functions
| __construct ($propertyName, $className=null, Exception $previous=null)
| Generates: Property '{$propertyName}' is readonly[ on class '{$className}']. More...

## Detailed Description

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

Definition at line 14 of file API/Repository/Exceptions/PropertyReadOnlyException.php.

## Constructor & Destructor Documentation

## ◆ __construct()

eZ\Publish\API\Repository\Exceptions\PropertyReadOnlyException::__construct | ( |  | $propertyName,
|  |  | $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 | null | $previous |

Definition at line 23 of file API/Repository/Exceptions/PropertyReadOnlyException.php.

The documentation for this class was generated from the following file:

- API/Repository/Exceptions/PropertyReadOnlyException.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.