public function setHost($pattern)
    {
        $this->host = (string) $pattern;
        $this->compiled = null;

        return $this;
    }
public function setHost($pattern)
    {
        $this->host = (string) $pattern;
        $this->compiled = null;

        return $this;
    }
public function setHost ( $ pattern ) { $ this -> host = ( string ) $ pattern ; $ this -> compiled = null ; return $ this ; }
Sets the pattern for the host.

This method implements a fluent interface.

@param string $pattern The host pattern

@return $this
Sets the pattern for the host .