20250302#1

This commit is contained in:
User
2025-03-02 23:46:57 +03:00
parent 133371a908
commit a05a8c8dd1
10 changed files with 135 additions and 38 deletions

View File

@@ -0,0 +1,22 @@
<?php
/**
* Created by PhpStorm.
* User: Zuev Yuri
* Date: 02.03.2025
* Time: 22:02
*/
namespace App\Infrastructure\Handlers;
use Base\Controllers\AbstractHandler;
use Psr\Http\Message\ResponseInterface;
class IndexHandler extends AbstractHandler {
public function index() : bool|ResponseInterface {
return $this->textResponse((new \DateTime())->format('Y-m-d H:i:s'));
}
}