1 | <?php |
||
31 | class InclusionDirective extends BlockDirective implements DirectiveInterface |
||
32 | { |
||
33 | /** @var string the filesystem path where the web server is installed */ |
||
34 | private $prefix; |
||
35 | |||
36 | /** @var array file list pointed with that directive */ |
||
37 | private $files = []; |
||
38 | |||
39 | /** |
||
40 | * Specific constructor for inclusion directives. |
||
41 | * |
||
42 | * @param string $name the name of the key/context |
||
43 | * @param string $value the value of the key/context |
||
44 | * @param string $prefix the filesystem path where the web server is installed |
||
45 | */ |
||
46 | 4 | public function __construct($name, $value = '', $prefix = '') |
|
52 | |||
53 | /** |
||
54 | * Gets the detected files of the directive. |
||
55 | * |
||
56 | * @return array detected files |
||
57 | */ |
||
58 | 3 | public function getFiles() |
|
62 | |||
63 | /** |
||
64 | * Detects and memoizes the included files. |
||
65 | */ |
||
66 | 4 | public function setFiles() |
|
82 | } |
||
83 |