ApiPlatform\Core\Metadata\Property\PropertyMetadata::withChildInherited PHP 메소드

withChildInherited() 공개 메소드

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