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

Common/Values/RestObjectState.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\Core\REST\Common\Values;
8
9 use eZ\Publish\API\Repository\Values\ObjectState\ObjectState;
10 use eZ\Publish\Core\REST\Common\Value as RestValue;
11
15 class RestObjectState extends RestValue
16 {
22 public $objectState;
23
29 public $groupId;
30
37 public function __construct(ObjectState $objectState, $groupId)
38 {
39 $this->objectState = $objectState;
40 $this->groupId = $groupId;
41 }
42 }
eZ\Publish\API\Repository\Values\ObjectState\ObjectState
Definition: API/Repository/Values/ObjectState/ObjectState.php:23
eZ\Publish\Core\REST\Common\Value
Definition: Core/REST/Common/Value.php:10
eZ\Publish\Core\REST\Common\Values\RestObjectState
This class wraps the object state with added groupId property.
Definition: Common/Values/RestObjectState.php:16
eZ\Publish\Core\REST\Common\Values\RestObjectState\__construct
__construct(ObjectState $objectState, $groupId)
Constructor.
Definition: Common/Values/RestObjectState.php:37
eZ\Publish\Core\REST\Common\Values\RestObjectState\$objectState
$objectState
Definition: Common/Values/RestObjectState.php:22
eZ\Publish\Core\REST\Common\Values\RestObjectState\$groupId
$groupId
Definition: Common/Values/RestObjectState.php:29
eZ\Publish\Core\REST\Common\Values
Definition: Common/Values/ContentObjectStates.php:7
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.