| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | class DomainLocator extends AbstractLocator |
||
| 19 | { |
||
| 20 | |||
| 21 | /** |
||
| 22 | * The path where the tld json file exists. |
||
| 23 | * |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | protected $whoisListPath = __DIR__ . '/../../blobs/tld.json'; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Finds and returns the last match looked up. |
||
| 30 | * |
||
| 31 | * @param string $domain Either an ID or a username. |
||
| 32 | * |
||
| 33 | * @return self Returns the same instance for fluent usage. |
||
| 34 | */ |
||
| 35 | 111 | public function findWhoisServer($domain) |
|
| 52 |