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

ContentDraftList.php
Go to the documentation of this file.
1 <?php
2
7 declare(strict_types=1);
8
9 namespace eZ\Publish\API\Repository\Values\Content;
10
11 use ArrayIterator;
12 use Iterator;
13 use IteratorAggregate;
14 use eZ\Publish\API\Repository\Values\ValueObject;
15
19 class ContentDraftList extends ValueObject implements IteratorAggregate
20 {
24 public $totalCount = 0;
25
29 public $items = [];
30
34 public function getIterator(): Iterator
35 {
36 return new ArrayIterator($this->items);
37 }
38 }
eZ\Publish\API\Repository\Values\Content\ContentDraftList
List of content drafts.
Definition: ContentDraftList.php:20
eZ\Publish\API\Repository\Values\Content\ContentDraftList\getIterator
getIterator()
{}
Definition: ContentDraftList.php:34
eZ\Publish\API\Repository\Values\Content\ContentDraftList\$items
$items
Definition: ContentDraftList.php:29
eZ\Publish\API\Repository\Values\Content\ContentDraftList\$totalCount
$totalCount
Definition: ContentDraftList.php:24
eZ\Publish\API\Repository\Values\ValueObject
Definition: API/Repository/Values/ValueObject.php:21
eZ\Publish\API\Repository\Values\Content
Definition: Publish/API/Repository/Values/Content/Content.php:7
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.