add a constructor in UrlGenerator

This commit is contained in:
Simon Vieille 2022-11-19 21:07:33 +01:00
parent 34747236ef
commit e54019d4d9
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -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;
}
}