diff --git a/src/Domrobot.php b/src/Domrobot.php index 23dc14d..16cb3b9 100644 --- a/src/Domrobot.php +++ b/src/Domrobot.php @@ -68,6 +68,20 @@ public function useOte(): self return $this; } + /** + * Configures the Domrobot to use a specified URL as endpoint. + * + * @param string $url + * + * @return self + */ + public function useUrl(string $url): self + { + $this->url = $url; + + return $this; + } + /** * @return bool Is the Domrobot configured to use the live endpoint? */