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
}
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
public create(string $resourceClass, string $property, array $options): ApiPlatform\Metadata\ApiProperty

Parameters

resourceClassstring
propertystring
optionsarray

Returns

ApiPlatform\Metadata\ApiProperty

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop