1 | <?php |
||
5 | class IncludeParser extends AbstractSectionParser |
||
6 | { |
||
7 | private |
||
8 | $files; |
||
9 | |||
10 | public function __construct() |
||
14 | |||
15 | protected function parseLine($line) |
||
16 | { |
||
17 | if($this->isACommentLine($line)) |
||
18 | { |
||
19 | return true; |
||
20 | } |
||
21 | |||
22 | $this->checkFilenameIsValid($line); |
||
23 | |||
24 | $this->files[] = $line; |
||
25 | } |
||
26 | |||
27 | private function checkFilenameIsValid($filename) |
||
34 | |||
35 | public function getCollectedFiles() |
||
39 | } |