1 | <?php |
||
23 | trait FilterTrait |
||
24 | { |
||
25 | /** |
||
26 | * @var ClassIteratorInterface Iterator filter is bound to |
||
27 | */ |
||
28 | private $boundIterator; |
||
29 | |||
30 | public function bindTo(ClassIteratorInterface $iterator): void |
||
34 | |||
35 | public function getBoundIterator(): ClassIteratorInterface |
||
42 | |||
43 | /** |
||
44 | * Get map of classnames to SplFileInfo objects |
||
45 | * |
||
46 | * @return SplFileInfo[] |
||
47 | */ |
||
48 | public function getClassMap(): array |
||
59 | |||
60 | /** |
||
61 | * Get current iterator |
||
62 | */ |
||
63 | abstract public function getIterator(): iterable; |
||
64 | } |
||
65 |