ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ItemCollector.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
21 
22 use LogicException;
23 use Generator;
24 
29 interface ItemCollector extends Collector
30 {
31  public function collectStructure(): void;
32 
33  public function filterItemsByVisibilty(bool $async_only = false): void;
34 
35  public function prepareItemsForUIRepresentation(): void;
36 
40  public function getItemsForUIRepresentation(): Generator;
41 
46  public function hasItems(): bool;
47 
48  public function hasVisibleItems(): bool;
49 }
PhpIncompatibleReturnTypeInspection