Reference
C
Class

ApiPlatform\Symfony\Messenger\ContextStamp

An envelope stamp with context which related to a message.

class ApiPlatform\Symfony\Messenger\ContextStamp implements Symfony\Component\Messenger\Stamp\StampInterface
{
    public __construct(array $context)
    public getContext(): array
}
class ApiPlatform\Symfony\Messenger\ContextStamp implements Symfony\Component\Messenger\Stamp\StampInterface
{
    public __construct(array $context)
    public getContext(): array
}

Methods

__construct

public __construct(array $context)
public __construct(array $context)

Parameters

contextarray

getContext

Get the context related to a message.

public getContext(): array
public getContext(): array

Returns

array

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop