Initial Class tryout

This commit is contained in:
2024-07-20 12:30:53 +02:00
parent ab1df63788
commit 87d949361e
7 changed files with 108 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
<?php
use Pecee\SimpleRouter\SimpleRouter;
use Api\Login\Login;
SimpleRouter::get('/', function () {
return 'Hello world';
});
$l = new Login();
SimpleRouter::get("/api/login", [Login::class, 'get']);