Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 17:58:52 +08:00
commit eac17f89fa
40 changed files with 4048 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?php
declare(strict_types=1);
namespace App\Urls;
use App\Entity\Utilisateur;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
final readonly class UtilisateurUrls
{
private function __construct(
private UrlGeneratorInterface $urlGenerator,
private Utilisateur $utilisateur,
) {
}
public static function new(
UrlGeneratorInterface $urlGenerator,
Utilisateur $utilisateur,
): self {
return new self(
urlGenerator: $urlGenerator,
utilisateur: $utilisateur,
);
}
}