src/SagePHP/Configuration/HostsFile.php
public function removeIp($ip)
    {
        $hosts = $this->getHosts($ip);
         unset($this->ips[$ip]);

         foreach ($hosts as $host) {
            unset($this->hosts[$host]);
         }
    }
public function removeIp($ip)
    {
        $hosts = $this->getHosts($ip);
         unset($this->ips[$ip]);

         foreach ($hosts as $host) {
            unset($this->hosts[$host]);
         }
    }
public function removeIp ( $ ip ) { $ hosts = $ this -> getHosts ( $ ip ) ; unset ( $ this -> ips [ $ ip ] ) ; foreach ( $ hosts as $ host ) { unset ( $ this -> hosts [ $ host ] ) ; } }
removes an ip and all associated hosts
@param  [type] $ip [description]
@return [type]     [description]
removes an ip and all associated hosts