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

UserPreferenceList.php
Go to the documentation of this file.
1 <?php
2
7 declare(strict_types=1);
8
9 namespace eZ\Publish\API\Repository\Values\UserPreference;
10
11 use ArrayIterator;
12 use IteratorAggregate;
13 use eZ\Publish\API\Repository\Values\ValueObject;
14
18 class UserPreferenceList extends ValueObject implements IteratorAggregate
19 {
25 public $totalCount = 0;
26
32 public $items = [];
33
37 public function getIterator()
38 {
39 return new ArrayIterator($this->items);
40 }
41 }
eZ\Publish\API\Repository\Values\UserPreference\UserPreferenceList
List of user preferences.
Definition: UserPreferenceList.php:19
eZ\Publish\API\Repository\Values\UserPreference\UserPreferenceList\$items
$items
Definition: UserPreferenceList.php:32
eZ\Publish\API\Repository\Values\UserPreference\UserPreferenceList\getIterator
getIterator()
{}
Definition: UserPreferenceList.php:37
eZ\Publish\API\Repository\Values\UserPreference\UserPreferenceList\$totalCount
$totalCount
Definition: UserPreferenceList.php:25
eZ\Publish\API\Repository\Values\ValueObject
Definition: API/Repository/Values/ValueObject.php:21
eZ\Publish\API\Repository\Values\UserPreference
Definition: API/Repository/Values/UserPreference/UserPreference.php:9
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.