From 34747236ef68c5fcbf39050e8f30dbfeb104fe1b Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sat, 19 Nov 2022 21:04:58 +0100 Subject: [PATCH] define UrlGenerator as Attribute --- src/core/Annotation/UrlGenerator.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/core/Annotation/UrlGenerator.php b/src/core/Annotation/UrlGenerator.php index c3ebae2..1b30e5a 100644 --- a/src/core/Annotation/UrlGenerator.php +++ b/src/core/Annotation/UrlGenerator.php @@ -2,14 +2,12 @@ namespace App\Core\Annotation; -use Doctrine\Common\Annotations\Annotation; - /** * class UrlGenerator. * * @author Simon Vieille - * @Annotation */ +#[\Attribute] class UrlGenerator { public string $service;