Guides
Tutorials
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)
}public __construct(Psr\Container\ContainerInterface $locator)public __construct(Psr\Container\ContainerInterface $locator)| locator | Psr\Container\ContainerInterface |
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)| data | ||
| operation | ApiPlatform\Metadata\Operation | |
| uriVariables | array | |
| context | array |