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

Common/Values/Root.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\Core\REST\Common\Values;
8
9 use eZ\Publish\Core\REST\Common\Value as RestValue;
10
14 class Root extends RestValue
15 {
17 protected $resources;
18
19 public function __construct(array $resources = [])
20 {
21 $this->resources = $resources;
22 }
23
27 public function getResources()
28 {
29 return $this->resources;
30 }
31 }
eZ\Publish\Core\REST\Common\Value
Definition: Core/REST/Common/Value.php:10
eZ\Publish\Core\REST\Common\Values\Root
This class represents the root resource.
Definition: Common/Values/Root.php:15
eZ\Publish\Core\REST\Common\Values\Root\__construct
__construct(array $resources=[])
Definition: Common/Values/Root.php:19
eZ\Publish\Core\REST\Common\Values\Root\$resources
$resources
Definition: Common/Values/Root.php:17
eZ\Publish\Core\REST\Common\Values\Root\getResources
getResources()
Definition: Common/Values/Root.php:27
eZ\Publish\Core\REST\Common\Values
Definition: Common/Values/ContentObjectStates.php:7
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.