readd implementation folder

This commit is contained in:
lubiana 2022-05-19 23:39:08 +02:00 committed by Andre Lubian
parent 7ff078b16f
commit a4f171b98c
80 changed files with 8471 additions and 0 deletions

View file

@ -0,0 +1,10 @@
<?php declare(strict_types=1);
use FastRoute\RouteCollector;
use Lubian\NoFramework\Action\Hello;
use Lubian\NoFramework\Action\Other;
return function (RouteCollector $r) {
$r->addRoute('GET', '/hello[/{name}]', Hello::class);
$r->addRoute('GET', '/other', Other::class);
};