PHP Class Symfony\Component\Serializer\Serializer
objects are turned into arrays by normalizers
arrays are turned into various output formats by encoders
$serializer->serialize($obj, 'xml')
$serializer->decode($data, 'xml')
$serializer->denormalize($data, 'Class', 'xml')
Exibir arquivo
Open project: pmjones/php-framework-benchmarks
Class Usage Examples
Protected Properties
Public Methods
Private Methods
Method Details
__construct()
public method
decode()
final public method
final public decode ( $data, $format ) |
denormalize()
public method
deserialize()
final public method
encode()
final public method
final public encode ( $data, $format ) |
getEncoder()
public method
normalize()
public method
serialize()
final public method
supportsDecoding()
public method
supportsDeserialization()
public method
supportsEncoding()
public method
supportsSerialization()
public method
Property Details
$denormalizerCache protected_oe property
protected $denormalizerCache |
$encoders protected_oe property
$normalizerCache protected_oe property
protected $normalizerCache |
$normalizers protected_oe property