src/Metadata/Property/PropertyMetadata.php
public function withDescription(string $description): self
    {
        $metadata = clone $this;
        $metadata->description = $description;

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

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