add data from work folder
This commit is contained in:
parent
97579d6d91
commit
48c9c9467d
218 changed files with 16123 additions and 1233 deletions
8
implementation/08-inversion-of-control/config/routes.php
Normal file
8
implementation/08-inversion-of-control/config/routes.php
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
return function (\FastRoute\RouteCollector $r): void {
|
||||
$r->addRoute('GET', '/hello[/{name}]', [\Lubian\NoFramework\Action\Hello::class, 'handle']);
|
||||
$r->addRoute('GET', '/another-route', [\Lubian\NoFramework\Action\Another::class, 'handle']);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue