Mapping/Expose.php
public function getIri()
    {
        if (null === $this->iri) {
            return null;
        }

        // Is it an absolute IRI?
        if (false !== strpos($this->iri, ':')) {
            return $this->iri;
        }

        if ('#' === $this->iri[0]) {
            return substr($this->iri, 1);
        }

        return $this->iri;
    }
public function getIri()
    {
        if (null === $this->iri) {
            return null;
        }

        // Is it an absolute IRI?
        if (false !== strpos($this->iri, ':')) {
            return $this->iri;
        }

        if ('#' === $this->iri[0]) {
            return substr($this->iri, 1);
        }

        return $this->iri;
    }
public function getIri ( ) { if ( null === $ this -> iri ) { return null ; } // Is it an absolute IRI? if ( false !== strpos ( $ this -> iri , ':' ) ) { return $ this -> iri ; } if ( '#' === $ this -> iri [ 0 ] ) { return substr ( $ this -> iri , 1 ) ; } return $ this -> iri ; }
Get the IRI (fragment)

@return string The IRI fragment
Get the IRI ( fragment )