public function getHostName()
    {
        if (strpos($this->getWorkingHost(), ':') === false) {
            return $this->getWorkingHost();
        }

        $info = explode(':', $this->getWorkingHost());
        return $info[0];
    }
public function getHostName()
    {
        if (strpos($this->getWorkingHost(), ':') === false) {
            return $this->getWorkingHost();
        }

        $info = explode(':', $this->getWorkingHost());
        return $info[0];
    }
public function getHostName ( ) { if ( strpos ( $ this -> getWorkingHost ( ) , ':' ) === false ) { return $ this -> getWorkingHost ( ) ; } $ info = explode ( ':' , $ this -> getWorkingHost ( ) ) ; return $ info [ 0 ] ; }
Get the current Host Name

@return string
Get the current Host Name