First commit

This commit is contained in:
2022-02-22 19:07:39 +01:00
commit b67fac10bc
28 changed files with 1194 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace KamilCraftApi\App\Controllers;
use KamilCraftApi\Interfaces\ControllerInterface;
use KamilCraftApi\Response;
class Controller implements ControllerInterface
{
private Response $response;
public function __construct()
{
$this->response = new Response();
}
protected function response(): Response
{
return $this->response;
}
}