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

Values/RestFieldDefinition.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\ContentType\ContentType;
10 use eZ\Publish\API\Repository\Values\ContentType\FieldDefinition;
11 use eZ\Publish\Core\REST\Common\Value as RestValue;
12
16 class RestFieldDefinition extends RestValue
17 {
23 public $contentType;
24
30 public $fieldDefinition;
31
38 public function __construct(ContentType $contentType, FieldDefinition $fieldDefinition)
39 {
40 $this->contentType = $contentType;
41 $this->fieldDefinition = $fieldDefinition;
42 }
43 }
eZ\Publish\API\Repository\Values\ContentType\ContentType
Definition: API/Repository/Values/ContentType/ContentType.php:36
eZ\Publish\API\Repository\Values\ContentType\FieldDefinition
Definition: API/Repository/Values/ContentType/FieldDefinition.php:31
eZ\Publish\Core\REST\Common\Value
Definition: Core/REST/Common/Value.php:10
eZ\Publish\Core\REST\Server\Values\RestFieldDefinition
RestFieldDefinition view model.
Definition: Values/RestFieldDefinition.php:17
eZ\Publish\Core\REST\Server\Values\RestFieldDefinition\__construct
__construct(ContentType $contentType, FieldDefinition $fieldDefinition)
Construct.
Definition: Values/RestFieldDefinition.php:38
eZ\Publish\Core\REST\Server\Values\RestFieldDefinition\$fieldDefinition
$fieldDefinition
Definition: Values/RestFieldDefinition.php:30
eZ\Publish\Core\REST\Server\Values\RestFieldDefinition\$contentType
$contentType
Definition: Values/RestFieldDefinition.php:23
eZ\Publish\Core\REST\Server\Values
Definition: Core/REST/Server/Values/BookmarkList.php:9
eZ\Publish\SPI\Persistence\Content\Type
Definition: SPI/Persistence/Content/Type/CreateStruct.php:7
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.