protected function filterHost(string $label, Rules $resolver = null): Host
    {
        return new Host($this->filterString($label), $resolver);
    }
protected function filterHost(string $label, Rules $resolver = null): Host
    {
        return new Host($this->filterString($label), $resolver);
    }
protected function filterHost ( string $ label , Rules $ resolver = null ) : Host { return new Host ( $ this -> filterString ( $ label ) , $ resolver ) ; }
Filter and validate the host string

@param string     $label    the data to validate
@param null|Rules $resolver

@return Host
Filter and validate the host string