src/Metadata/Resource/ResourceMetadata.php
public function withIri(string $iri): self
    {
        $metadata = clone $this;
        $metadata->iri = $iri;

        return $metadata;
    }
public function withIri(string $iri): self
    {
        $metadata = clone $this;
        $metadata->iri = $iri;

        return $metadata;
    }
public function withIri ( string $ iri ) : self { $ metadata = clone $ this ; $ metadata -> iri = $ iri ; return $ metadata ; }
Returns a new instance with the given IRI.
Returns a new instance with the given IRI .