20230818#1

This commit is contained in:
User committed 2023-08-18 02:15:16 +03:00
1 parent 19b505a458
commit 4ea833db5a
10 files changed
+10 -41

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
<?php
$routes = glob(__DIR__."/{*.yaml}", GLOB_BRACE);
$routesCollection = array_map(function ($routesFile){
return file_get_contents($routesFile).PHP_EOL;
}, $routes);
return yaml_parse(implode($routesCollection));