References PropertyMetadataFactoryInterface
Reference
I
Interface

ApiPlatform\Metadata\Property\Factory\PropertyMetadataFactoryInterface

Creates a property metadata value object.

interface ApiPlatform\Metadata\Property\Factory\PropertyMetadataFactoryInterface
{
    public create(string $resourceClass, string $property, array $options): ApiPlatform\Metadata\ApiProperty
}

Methods

create

Creates a property metadata.

public create(string $resourceClass, string $property, array $options): ApiPlatform\Metadata\ApiProperty

Parameters

resourceClassstring
propertystring
optionsarray

Returns

<a href="/docs/main/references/Metadata/ApiProperty">ApiPlatform\Metadata\ApiProperty</a>

Made with love by

Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.

Learn more

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop