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

Services.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\Core\REST\Server\Controller;
8
9 use eZ\Publish\Core\REST\Server\Controller as RestController;
10 use eZ\Publish\Core\REST\Server\Values;
11
15 class Services extends RestController
16 {
18 protected $countriesInfo;
19
20 public function __construct(array $countriesInfo)
21 {
22 $this->countriesInfo = $countriesInfo;
23 }
24
28 public function loadCountryList()
29 {
30 return new Values\CountryList($this->countriesInfo);
31 }
32 }
eZ\Publish\Core\REST\Server\Controller\Services
Services controller.
Definition: Services.php:16
eZ\Publish\Core\REST\Server\Controller\Services\$countriesInfo
$countriesInfo
Definition: Services.php:18
eZ\Publish\Core\REST\Server\Controller\Services\__construct
__construct(array $countriesInfo)
Definition: Services.php:20
eZ\Publish\Core\REST\Server\Controller\Services\loadCountryList
loadCountryList()
Loads Country List.
Definition: Services.php:28
eZ\Publish\Core\REST\Server\Values\CountryList
Country list view model.
Definition: Values/CountryList.php:15
eZ\Publish\Core\REST\Server\Controller
Definition: BinaryContent.php:7
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+.