1 | <?php |
||
16 | class AbstractGlobalConfiguration extends AbstractConfiguration implements GlobalConfigurationInterface |
||
17 | { |
||
18 | |||
19 | /** |
||
20 | * @var string[][] |
||
21 | */ |
||
22 | protected static $supportingDirs = []; |
||
23 | |||
24 | /** |
||
25 | * Get an attribute from the container using "dot" notation. |
||
26 | * |
||
27 | * @param string $key |
||
28 | * @param mixed $default |
||
29 | * |
||
30 | * @return mixed |
||
31 | */ |
||
32 | public function get(string $key, $default = null) |
||
36 | |||
37 | /** |
||
38 | * @return array |
||
39 | */ |
||
40 | public function toArray() : array |
||
44 | |||
45 | /** |
||
46 | * @return string[] |
||
47 | */ |
||
48 | final public function getPaths() |
||
52 | |||
53 | /** |
||
54 | * @return string[] |
||
55 | */ |
||
56 | final public function getSupportingDirs() |
||
60 | |||
61 | /** |
||
62 | * @return string[] |
||
63 | */ |
||
64 | final protected function resolveSupportingDirs() |
||
68 | |||
69 | /** |
||
70 | * @param string $filter |
||
71 | * |
||
72 | * @return array |
||
73 | */ |
||
74 | protected function filterPaths(string $filter) : array |
||
85 | |||
86 | /** |
||
87 | * @return string |
||
88 | */ |
||
89 | final public function getTestsDir() : string |
||
93 | |||
94 | /** |
||
95 | * @return string |
||
96 | */ |
||
97 | final public function getDataDir() : string |
||
101 | |||
102 | /** |
||
103 | * @return string |
||
104 | */ |
||
105 | final public function getOutputDir() : string |
||
109 | |||
110 | /** |
||
111 | * @return string |
||
112 | */ |
||
113 | final public function getSupportDir() : string |
||
117 | |||
118 | /** |
||
119 | * @return string |
||
120 | */ |
||
121 | final public function getEnvironmentsDir() : string |
||
125 | |||
126 | /** |
||
127 | * @return string |
||
128 | */ |
||
129 | public function getNamespace() : string |
||
133 | |||
134 | } |
||
135 |