Reference
C
Class

ApiPlatform\State\CallableProcessor

class ApiPlatform\State\CallableProcessor implements `<a href="/docs/reference/State/ProcessorInterface">ApiPlatform\State\ProcessorInterface</a>`
{
    public __construct(Psr\Container\ContainerInterface $locator)
    public process($data, ApiPlatform\Metadata\Operation $operation, array $uriVariables, array $context)
}
class ApiPlatform\State\CallableProcessor implements `<a href="/docs/reference/State/ProcessorInterface">ApiPlatform\State\ProcessorInterface</a>`
{
    public __construct(Psr\Container\ContainerInterface $locator)
    public process($data, ApiPlatform\Metadata\Operation $operation, array $uriVariables, array $context)
}

Methods

__construct

public __construct(Psr\Container\ContainerInterface $locator)
public __construct(Psr\Container\ContainerInterface $locator)

Parameters

locatorPsr\Container\ContainerInterface

process

Handle the state.

public process($data, ApiPlatform\Metadata\Operation $operation, array $uriVariables, array $context)
public process($data, ApiPlatform\Metadata\Operation $operation, array $uriVariables, array $context)

Parameters

data
operationApiPlatform\Metadata\Operation
uriVariablesarray
contextarray

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop