mirror of
https://github.com/YGGverse/titan-II.git
synced 2025-01-26 06:45:04 +00:00
15 lines
331 B
PHP
15 lines
331 B
PHP
<?php
|
|
|
|
namespace TitanII\Test;
|
|
|
|
require_once(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php');
|
|
|
|
use TitanII\Server;
|
|
use TitanII\Request;
|
|
use TitanII\Response;
|
|
|
|
$server = new Server();
|
|
|
|
$server->start(function (Request $request): Response {
|
|
return new Response();
|
|
}); |