20240719#1

This commit is contained in:
User committed 2024-07-19 13:38:34 +03:00
1 parent 858dfd17c0
commit 40e771f1f2
7 files changed
+23 -18

No files matched your search

Whitespace-only changes.
@@ -1,13 +0,0 @@
# Index
- key: "/"
routes:
- action: "App\\Main\\Infrastructure\\Controllers\\IndexController"
method: "index"
params: ""
# Empty
- key: "<@any>"
routes:
- action: "App\\Main\\Infrastructure\\Controllers\\IndexController"
method: "emptyAction"
params: ""
@@ -1,9 +0,0 @@
<?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));