murph-core/src/core/Annotation/UrlGenerator.php

26 lines
444 B
PHP
Raw Normal View History

2022-03-13 19:32:32 +01:00
<?php
namespace App\Core\Annotation;
/**
* class UrlGenerator.
*
* @author Simon Vieille <simon@deblan.fr>
*/
2022-11-19 21:04:58 +01:00
#[\Attribute]
2022-03-13 19:32:32 +01:00
class UrlGenerator
{
public string $service;
public string $method;
public array $options = [];
2022-11-19 21:07:33 +01:00
2022-11-19 21:08:28 +01:00
public function __construct(string $service, string $method, array $options = [])
2022-11-19 21:07:33 +01:00
{
$this->service = $service;
$this->method = $method;
$this->options = $options;
}
2022-03-13 19:32:32 +01:00
}