Skip to content

Commit d0f2b54

Browse files
authored
Merge pull request #13 from inwx/allow_other_endpoints
Allow other endpoints besides live/OTE
2 parents 438c7e4 + 0edb3b2 commit d0f2b54

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

src/Domrobot.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,20 @@ public function useOte(): self
6868
return $this;
6969
}
7070

71+
/**
72+
* Configures the Domrobot to use a specified URL as endpoint.
73+
*
74+
* @param string $url
75+
*
76+
* @return self
77+
*/
78+
public function useUrl(string $url): self
79+
{
80+
$this->url = $url;
81+
82+
return $this;
83+
}
84+
7185
/**
7286
* @return bool Is the Domrobot configured to use the live endpoint?
7387
*/

0 commit comments

Comments
 (0)