public function setPort(int $port = 80) : CNabuDataObject
    {
        if ($port === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$port")
            );
        }
        $this->setValue('nb_server_host_port', $port);
        
        return $this;
    }
public function setPort(int $port = 80) : CNabuDataObject
    {
        if ($port === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$port")
            );
        }
        $this->setValue('nb_server_host_port', $port);
        
        return $this;
    }
public function setPort ( int $ port = 80 ) : CNabuDataObject { if ( $ port === null ) { throw new ENabuCoreException ( ENabuCoreException :: ERROR_NULL_VALUE_NOT_ALLOWED_IN , array ( "\$port" ) ) ; } $ this -> setValue ( 'nb_server_host_port' , $ port ) ; return $ this ; }
Sets the Server Host Port attribute value.
@param int $port New value for attribute
@return CNabuDataObject Returns self instance to grant chained setters call.
Sets the Server Host Port attribute value .