Documentation

SymfonySerializerConfig
in package

This class is automatically generated to help in creating a config.

Table of Contents

Properties

$_usedProperties  : mixed
$context  : mixed
$format  : mixed

Methods

__construct()  : mixed
context()  : $this
format()  : $this
Serialization format for the messenger.transport.symfony_serializer service (which is not the serializer used by default).
toArray()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct([array<string|int, mixed> $value = [] ]) : mixed
Parameters
$value : array<string|int, mixed> = []

context()

public context(string $name, mixed $value) : $this
Parameters
$name : string
$value : mixed
Return values
$this

format()

Serialization format for the messenger.transport.symfony_serializer service (which is not the serializer used by default).

public format(ParamConfigurator|mixed $value) : $this
Parameters
$value : ParamConfigurator|mixed
Tags
default

'json'

Return values
$this

        
On this page

Search results