define UrlGenerator as Attribute
This commit is contained in:
parent
173ed9aa83
commit
34747236ef
|
@ -2,14 +2,12 @@
|
||||||
|
|
||||||
namespace App\Core\Annotation;
|
namespace App\Core\Annotation;
|
||||||
|
|
||||||
use Doctrine\Common\Annotations\Annotation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* class UrlGenerator.
|
* class UrlGenerator.
|
||||||
*
|
*
|
||||||
* @author Simon Vieille <simon@deblan.fr>
|
* @author Simon Vieille <simon@deblan.fr>
|
||||||
* @Annotation
|
|
||||||
*/
|
*/
|
||||||
|
#[\Attribute]
|
||||||
class UrlGenerator
|
class UrlGenerator
|
||||||
{
|
{
|
||||||
public string $service;
|
public string $service;
|
||||||
|
|
Loading…
Reference in a new issue