First Commit

This commit is contained in:
2026-08-19 11:22:14 -03:00
commit 8d49b22915
15 changed files with 612 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
use Routes\RouteCollection as RouteCollection;
RouteCollection::add("WEB", "/module_a/submodule_b/", function(){
// Doing house keeping work
$a = 1;
$b = 2;
$c = $a + $b;
})->doIgnore();
RouteCollection::get("/module_a/submodule_b/", function(){
echo "Executin the /module_a/submodule_b/ route";
});
RouteCollection::get("/module_a/submodule_b/[d:value]", function($value){
echo "Executing the /module_a/submodule_b/ route and receaved the value $value";
});