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

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

        return $metadata;
    }
public function withShortName ( string $ shortName ) : self { $ metadata = clone $ this ; $ metadata -> shortName = $ shortName ; return $ metadata ; }
Returns a new instance with the given short name.
Returns a new instance with the given short name .