Reference
I
Interface

ApiPlatform\State\ProcessorInterface

Process data: send an email, persist to storage, add to queue etc.

interface ApiPlatform\State\ProcessorInterface
{
    public process($data, ApiPlatform\Metadata\Operation $operation, array $uriVariables, array $context)
}
interface ApiPlatform\State\ProcessorInterface
{
    public process($data, ApiPlatform\Metadata\Operation $operation, array $uriVariables, array $context)
}

Methods

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