public function getAbsoluteIri()
    {
        if (false === $this->isAbsolute()) {
            throw new \UnexpectedValueException('Cannot get the absolute IRI of a relative IRI.');
        }

        $absolute  = clone $this;
        $absolute->fragment = null;

        return $absolute;
    }
public function getAbsoluteIri()
    {
        if (false === $this->isAbsolute()) {
            throw new \UnexpectedValueException('Cannot get the absolute IRI of a relative IRI.');
        }

        $absolute  = clone $this;
        $absolute->fragment = null;

        return $absolute;
    }
public function getAbsoluteIri ( ) { if ( false === $ this -> isAbsolute ( ) ) { throw new \ UnexpectedValueException ( 'Cannot get the absolute IRI of a relative IRI.' ) ; } $ absolute = clone $ this ; $ absolute -> fragment = null ; return $ absolute ; }
Get as absolute IRI, i.e., without fragment identifier

@return IRI The absolute IRI, i.e., without fragment identifier

@throws \UnexpectedValueException If the IRI is a relative IRI.

@link http://tools.ietf.org/html/rfc3987#section-2.2 RFC3987 absolute-IRI

@api
Get as absolute IRI i . e . without fragment identifier