tina4 code example
Example: tina4 create route
\Tina4\Get::add("/api/test", function (\Tina4\Response $response){
$jsonObject = ["hello" => "world!"];
return $reponse ($jsonObject);
});
\Tina4\Get::add("/api/test", function (\Tina4\Response $response){
$jsonObject = ["hello" => "world!"];
return $reponse ($jsonObject);
});