feat : ajout du numéro de version de l'application auth/default layout

This commit is contained in:
tristan
2026-02-06 11:52:45 +01:00
parent 0e905bfcbe
commit c010bdc262
8 changed files with 58 additions and 16 deletions
@@ -2,7 +2,7 @@
declare(strict_types=1);
namespace App\Dto;
namespace App\ApiResource;
use ApiPlatform\Metadata\ApiResource;
use ApiPlatform\Metadata\Get;
@@ -17,7 +17,6 @@ use Symfony\Component\Serializer\Attribute\Groups;
provider: AppVersionProvider::class,
),
],
security: "is_granted('ROLE_USER')",
)]
final class AppVersion
{
+1 -1
View File
@@ -6,7 +6,7 @@ namespace App\State;
use ApiPlatform\Metadata\Operation;
use ApiPlatform\State\ProviderInterface;
use App\Dto\AppVersion;
use App\ApiResource\AppVersion;
use Symfony\Component\DependencyInjection\Attribute\Autowire;
final readonly class AppVersionProvider implements ProviderInterface