Properly implement the router with config and interfaces

Expand the container with aliases and argument autowiring
This commit is contained in:
Tim
2023-08-07 17:50:34 +02:00
parent e9a636554f
commit a55d1c3c2e
11 changed files with 406 additions and 48 deletions

View File

@ -9,7 +9,7 @@ use Ardent\Undercurrent\Http\ResponseInterface;
class BaseController
{
#[Route('/hello')]
public function HelloWorld(): ResponseInterface
public function helloWorld(): ResponseInterface
{
return new GenericResponse('Hello World!');
}