References PropertyNameCollectionFactoryInterface
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
}

Methods

create

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

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

Parameters

resourceClassstring
optionsarray

Returns

<a href="/docs/main/references/Metadata/Property/PropertyNameCollection">ApiPlatform\Metadata\Property\PropertyNameCollection</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