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')
Show file
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 property
protected $denormalizerCache |
$encoders protected property
$normalizerCache protected property
protected $normalizerCache |
$normalizers protected property