Reference
I
Interface

ApiPlatform\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface

Creates a property name collection value object.

interface ApiPlatform\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface
{
    public create(string $resourceClass, array $options): ApiPlatform\Metadata\Property\PropertyNameCollection
}
interface ApiPlatform\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface
{
    public create(string $resourceClass, array $options): ApiPlatform\Metadata\Property\PropertyNameCollection
}

Methods

create

Creates the property name collection for the given class and options.

public create(string $resourceClass, array $options): ApiPlatform\Metadata\Property\PropertyNameCollection
public create(string $resourceClass, array $options): ApiPlatform\Metadata\Property\PropertyNameCollection

Parameters

resourceClassstring
optionsarray

Returns

ApiPlatform\Metadata\Property\PropertyNameCollection

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop