Reference
C
Class

ApiPlatform\Symfony\Bundle\ArgumentResolver\PayloadArgumentResolver

class ApiPlatform\Symfony\Bundle\ArgumentResolver\PayloadArgumentResolver implements `<a href="/docs/reference/Symfony/Bundle/ArgumentResolver/CompatibleValueResolverInterface">ApiPlatform\Symfony\Bundle\ArgumentResolver\CompatibleValueResolverInterface</a>`, Symfony\Component\HttpKernel\Controller\ValueResolverInterface
{
    public __construct(ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface $resourceMetadataCollectionFactory, ApiPlatform\Serializer\SerializerContextBuilderInterface $serializationContextBuilder)
    public supports(Symfony\Component\HttpFoundation\Request $request, Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadata $argument): bool
    public resolve(Symfony\Component\HttpFoundation\Request $request, Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadata $argument): iterable
}
class ApiPlatform\Symfony\Bundle\ArgumentResolver\PayloadArgumentResolver implements `<a href="/docs/reference/Symfony/Bundle/ArgumentResolver/CompatibleValueResolverInterface">ApiPlatform\Symfony\Bundle\ArgumentResolver\CompatibleValueResolverInterface</a>`, Symfony\Component\HttpKernel\Controller\ValueResolverInterface
{
    public __construct(ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface $resourceMetadataCollectionFactory, ApiPlatform\Serializer\SerializerContextBuilderInterface $serializationContextBuilder)
    public supports(Symfony\Component\HttpFoundation\Request $request, Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadata $argument): bool
    public resolve(Symfony\Component\HttpFoundation\Request $request, Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadata $argument): iterable
}

Methods

__construct

public __construct(ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface $resourceMetadataCollectionFactory, ApiPlatform\Serializer\SerializerContextBuilderInterface $serializationContextBuilder)
public __construct(ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface $resourceMetadataCollectionFactory, ApiPlatform\Serializer\SerializerContextBuilderInterface $serializationContextBuilder)

Parameters

resourceMetadataCollectionFactoryApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface
serializationContextBuilderApiPlatform\Serializer\SerializerContextBuilderInterface

supports

public supports(Symfony\Component\HttpFoundation\Request $request, Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadata $argument): bool
public supports(Symfony\Component\HttpFoundation\Request $request, Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadata $argument): bool

Parameters

requestSymfony\Component\HttpFoundation\Request
argumentSymfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadata

Returns

bool

resolve

public resolve(Symfony\Component\HttpFoundation\Request $request, Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadata $argument): iterable
public resolve(Symfony\Component\HttpFoundation\Request $request, Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadata $argument): iterable

Parameters

requestSymfony\Component\HttpFoundation\Request
argumentSymfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadata

Returns

iterable

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop