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

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

        return $metadata;
    }
public function withChildInherited ( string $ childInherited ) : self { $ metadata = clone $ this ; $ metadata -> childInherited = $ childInherited ; return $ metadata ; }
Returns a new instance with the given child inherited class.
Returns a new instance with the given child inherited class .