20230818#1

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

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));