| Total Complexity | 3 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class Client |
||
| 16 | { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * The TLD Whois locator class. |
||
| 20 | * @var Locator |
||
| 21 | */ |
||
| 22 | private $tldLocator; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * The carriage return line feed character comobo. |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | private $clrf = "\r\n"; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Construct the Whois Client Class. |
||
| 32 | */ |
||
| 33 | 9 | public function __construct() |
|
| 36 | 9 | } |
|
| 37 | |||
| 38 | /** |
||
| 39 | * Performs a Whois look up on the domain provided. |
||
| 40 | * @param string $domain The domain being looked up via whois. |
||
| 41 | * @return string The output of the Whois look up. |
||
| 42 | */ |
||
| 43 | 6 | public function lookup($domain = '') |
|
| 60 |