/** * Compare equality with another Host. * * @param Host $other * * @return bool */ public function equals(Host $other) { return $this->toString() === $other->toString(); }
/** * Undeny host. * * @param Host $host */ public function undeny(Host $host) { $this->removeLine('deny from ' . $host->toString()); }