ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
HandlerCollectionInterface.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use Countable;
25use ILIAS\Export\ImportHandler\I\File\XML\Manifest\HandlerInterface as ManifestXMLFileHandlerInterface;
26use ILIAS\Export\ImportStatus\I\ilCollectionInterface as ImportStatusHandlerCollectionInterface;
27use Iterator;
28
29interface HandlerCollectionInterface extends Iterator, Countable
30{
32
33 public function withElement(ManifestXMLFileHandlerInterface $element): HandlerCollectionInterface;
34
35 public function validateElements(): ImportStatusHandlerCollectionInterface;
36
37 public function containsExportObjectType(ExportObjectType $type): bool;
38
40
44 public function toArray(): array;
45
46 public function current(): ManifestXMLFileHandlerInterface;
47
48 public function next(): void;
49
50 public function key(): int;
51
52 public function valid(): bool;
53
54 public function rewind(): void;
55}