| 1 | <?php |
||
| 11 | class Ayaml |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var array |
||
| 15 | */ |
||
| 16 | private static $basePaths = []; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param string $fileName |
||
| 20 | * @return Container |
||
| 21 | * @throws AyamlBasePathNotFoundException |
||
| 22 | */ |
||
| 23 | public static function file($fileName) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param string $basePath |
||
| 36 | */ |
||
| 37 | public static function registerBasePath($basePath) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param Container $container |
||
| 44 | * @return ContainerCollection |
||
| 45 | */ |
||
| 46 | public static function seq(Container $container) |
||
| 50 | } |
||
| 51 |