1 | <?php |
||
9 | abstract class AbstractFileParser implements FileParserInterface |
||
10 | { |
||
11 | /** |
||
12 | * Path to the config file |
||
13 | * |
||
14 | * @var string |
||
15 | */ |
||
16 | protected $path; |
||
17 | |||
18 | /** |
||
19 | * Sets the path to the config file |
||
20 | * |
||
21 | * @param string $path |
||
22 | * |
||
23 | * @codeCoverageIgnore |
||
24 | */ |
||
25 | public function __construct($path = null) |
||
29 | |||
30 | /** |
||
31 | * @return string |
||
32 | */ |
||
33 | 1 | public function getPath() |
|
37 | |||
38 | /** |
||
39 | * @param string $path |
||
40 | * @return $this |
||
41 | */ |
||
42 | 1 | public function setPath($path) |
|
48 | } |
||
49 |