Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Symfony
Component
Serializer
SerializerInterface
encode
Symfony\Component\Serializer\SerializerInterface::encode PHP Method
SerializerInterface Interface Documentation
Mostrar archivo
Open project: pmjones/php-framework-benchmarks
encode()
public
method
Encodes data into the given format
public
encode
(
mixed
$data
,
string
$format
) :
array
| scalar
$data
mixed
data to encode
$format
string
format name
return
array
| scalar
function encode($data, $format);
SerializerInterface
decode
denormalize
deserialize
encode
getEncoder
normalize
serialize
supportsDecoding
supportsDeserialization
supportsEncoding
supportsSerialization