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

URL/SearchResult.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\API\Repository\Values\URL;
8
9 use ArrayIterator;
10 use eZ\Publish\API\Repository\Values\ValueObject;
11
12 class SearchResult extends ValueObject implements \IteratorAggregate
13 {
19 public $totalCount = 0;
20
26 public $items = [];
27
31 public function getIterator()
32 {
33 return new ArrayIterator($this->items);
34 }
35 }
eZ\Publish\API\Repository\Values\URL\SearchResult
Definition: URL/SearchResult.php:13
eZ\Publish\API\Repository\Values\URL\SearchResult\getIterator
getIterator()
{}
Definition: URL/SearchResult.php:31
eZ\Publish\API\Repository\Values\URL\SearchResult\$items
$items
Definition: URL/SearchResult.php:26
eZ\Publish\API\Repository\Values\URL\SearchResult\$totalCount
$totalCount
Definition: URL/SearchResult.php:19
eZ\Publish\API\Repository\Values\ValueObject
Definition: API/Repository/Values/ValueObject.php:21
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.