Reference
T
Trait

ApiPlatform\Serializer\InputOutputMetadataTrait

trait ApiPlatform\Serializer\InputOutputMetadataTrait
{
    protected getInputClass(array $context): string
    protected getOutputClass(array $context): string
}
trait ApiPlatform\Serializer\InputOutputMetadataTrait
{
    protected getInputClass(array $context): string
    protected getOutputClass(array $context): string
}

Properties

resourceMetadataCollectionFactory

ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface $resourceMetadataCollectionFactory
ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface $resourceMetadataCollectionFactory

Methods

getInputClass

protected getInputClass(array $context): string
protected getInputClass(array $context): string

Parameters

contextarray

Returns

string

getOutputClass

protected getOutputClass(array $context): string
protected getOutputClass(array $context): string

Parameters

contextarray

Returns

string

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop