References DefinitionNameFactoryInterface
Reference
I
Interface

ApiPlatform\JsonSchema\DefinitionNameFactoryInterface

Factory for creating definition names for resources in a JSON Schema document.

interface ApiPlatform\JsonSchema\DefinitionNameFactoryInterface
{
    public create(string $className, string $format, null|string $inputOrOutputClass, null|ApiPlatform\Metadata\Operation $operation, array $serializerContext): string
}

Methods

create

Creates a resource definition name.

public create(string $className, string $format, null|string $inputOrOutputClass, null|ApiPlatform\Metadata\Operation $operation, array $serializerContext): string

Parameters

classNamestring
formatstring
inputOrOutputClassstring
operation`ApiPlatform\Metadata\Operation`
serializerContextarray

Returns

string

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