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

Core/REST/Client/Exceptions/PropertyReadOnlyException.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\Core\REST\Client\Exceptions;
8
9 use eZ\Publish\API\Repository\Exceptions\PropertyReadOnlyException as APIPropertyReadOnlyException;
10
14 class PropertyReadOnlyException extends APIPropertyReadOnlyException
15 {
16 public function __construct($propertyName)
17 {
18 parent::__construct(
19 sprintf('Property "%s" is read-only.', $propertyName)
20 );
21 }
22 }
eZ\Publish\API\Repository\Exceptions\PropertyReadOnlyException
This Exception is thrown on a write attempt in a read only property in a value object.
Definition: API/Repository/Exceptions/PropertyReadOnlyException.php:15
eZ\Publish\Core\REST\Client\Exceptions\PropertyReadOnlyException
This Exception is thrown on a write attempt in a read only property in a value object.
Definition: Core/REST/Client/Exceptions/PropertyReadOnlyException.php:15
eZ\Publish\Core\REST\Client\Exceptions\PropertyReadOnlyException\__construct
__construct($propertyName)
Definition: Core/REST/Client/Exceptions/PropertyReadOnlyException.php:16
eZ\Publish\Core\REST\Client\Exceptions
Definition: Core/REST/Client/Exceptions/BadStateException.php:7
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.