Full code refactor to Symfony7.4 with FrankenPHP

Includes significant breaking changes.
Default port and transportation changed to
http via port 80
Names of environment variables have changed.
This commit is contained in:
2025-12-15 12:30:14 -05:00
parent f5a5d63eb7
commit 102b9f3e78
50 changed files with 6228 additions and 826 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
declare(strict_types=1);
namespace App;
use DateTimeImmutable;
use Psr\Clock\ClockInterface;
use Symfony\Component\DependencyInjection\Attribute\AsAlias;
/* A new Clock should be made for each request,
* because a Clock is a snapshot of when the request was made. */
#[AsAlias(ClockInterface::class)]
class Clock implements ClockInterface {
private DateTimeImmutable $date;
public function now(): DateTimeImmutable {
return new DateTimeImmutable();
}
}