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

Values/RestRelation.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\Core\REST\Server\Values;
8
9 use eZ\Publish\API\Repository\Values\Content\Relation;
10 use eZ\Publish\Core\REST\Common\Value as RestValue;
11
15 class RestRelation extends RestValue
16 {
22 public $relation;
23
29 public $contentId;
30
36 public $versionNo;
37
43 public function __construct(Relation $relation, $contentId, $versionNo)
44 {
45 $this->relation = $relation;
46 $this->contentId = $contentId;
47 $this->versionNo = $versionNo;
48 }
49 }
eZ\Publish\API\Repository\Values\Content\Relation
Definition: API/Repository/Values/Content/Relation.php:21
eZ\Publish\Core\REST\Common\Value
Definition: Core/REST/Common/Value.php:10
eZ\Publish\Core\REST\Server\Values\RestRelation
RestRelation view model.
Definition: Values/RestRelation.php:16
eZ\Publish\Core\REST\Server\Values\RestRelation\$relation
$relation
Definition: Values/RestRelation.php:22
eZ\Publish\Core\REST\Server\Values\RestRelation\$versionNo
$versionNo
Definition: Values/RestRelation.php:36
eZ\Publish\Core\REST\Server\Values\RestRelation\$contentId
$contentId
Definition: Values/RestRelation.php:29
eZ\Publish\Core\REST\Server\Values\RestRelation\__construct
__construct(Relation $relation, $contentId, $versionNo)
Definition: Values/RestRelation.php:43
eZ\Publish\Core\REST\Server\Values
Definition: Core/REST/Server/Values/BookmarkList.php:9
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.