add a constructor in UrlGenerator
This commit is contained in:
parent
34747236ef
commit
e54019d4d9
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue