1<?php 2 3namespace Iodev\Whois\Loaders; 4 5use Iodev\Whois\Exceptions\ConnectionException; 6use Iodev\Whois\Exceptions\WhoisException; 7 8interface ILoader 9{ 10 /** 11 * @param string $whoisHost 12 * @param string $query 13 * @return string 14 * @throws ConnectionException 15 * @throws WhoisException 16 */ 17 function loadText($whoisHost, $query); 18}