diff --git a/src/core/Annotation/UrlGenerator.php b/src/core/Annotation/UrlGenerator.php index 1b30e5a..6a651d8 100644 --- a/src/core/Annotation/UrlGenerator.php +++ b/src/core/Annotation/UrlGenerator.php @@ -15,4 +15,11 @@ class UrlGenerator public string $method; public array $options = []; + + public function __construct(string $service, string $method, array $options) + { + $this->service = $service; + $this->method = $method; + $this->options = $options; + } }