1 | <?php |
||
15 | class SectionParserCollection implements \IteratorAggregate |
||
16 | { |
||
17 | private const |
||
18 | VARIABLES = 'variables', |
||
19 | INCLUDES = 'includes', |
||
20 | EXTERNALS = 'externals', |
||
21 | GROUPS = 'groups'; |
||
22 | |||
23 | private |
||
24 | $parsers; |
||
25 | |||
26 | 280 | public function __construct() |
|
35 | |||
36 | 280 | public function enableIncludeSupport(): void |
|
43 | |||
44 | 280 | public function enableExternalSupport(Filesystem $fs): void |
|
51 | |||
52 | 270 | public function enableGroupSupport(): void |
|
59 | |||
60 | 250 | public function variables(): VariableParser |
|
64 | |||
65 | 249 | public function includes(): ?IncludeParser |
|
69 | |||
70 | 247 | public function externals(): ?ExternalParser |
|
74 | |||
75 | 46 | public function groups(): ?GroupParser |
|
79 | |||
80 | 273 | public function has(string $sectionName): bool |
|
84 | |||
85 | 273 | public function get(string $sectionName): SectionParser |
|
94 | |||
95 | 280 | public function getIterator(): \Iterator |
|
101 | } |
||
102 | |||
103 |