References ProcessorInterface
Reference
I
Interface

ApiPlatform\State\ProcessorInterface

Processes data: sends an email, persists to storage, adds to queue etc.

interface ApiPlatform\State\ProcessorInterface
{
    public process(null|ApiPlatform\State\T1 $data, ApiPlatform\Metadata\Operation $operation, array<string, mixed> $uriVariables, $context): ApiPlatform\State\T2
}

Methods

process

Handles the state.

public process(null|ApiPlatform\State\T1 $data, ApiPlatform\Metadata\Operation $operation, array<string, mixed> $uriVariables, $context): ApiPlatform\State\T2

Parameters

dataApiPlatform\State\T1
operation`ApiPlatform\Metadata\Operation`
uriVariablesarray<string, mixed>
context

Made with love by

Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.

Learn more

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop