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