@@ -252,6 +252,9 @@ discard block |
||
252 | 252 | return static::substitutePaths($data, $dir, static::BASE_DIR_MARKER); |
253 | 253 | } |
254 | 254 | |
255 | + /** |
|
256 | + * @param string $path |
|
257 | + */ |
|
255 | 258 | public static function normalizePath($path, $ds = DIRECTORY_SEPARATOR) |
256 | 259 | { |
257 | 260 | return rtrim(strtr($path, '\/', '/'), $ds); |
@@ -296,6 +299,9 @@ discard block |
||
296 | 299 | return $skippable . $result; |
297 | 300 | } |
298 | 301 | |
302 | + /** |
|
303 | + * @param string $name |
|
304 | + */ |
|
299 | 305 | public function loadConfig($name) |
300 | 306 | { |
301 | 307 | return $this->loadFile($this->getOutputPath($name)); |