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')
Afficher le fichier
Open project: pmjones/php-framework-benchmarks
Class Usage Examples
Protected Properties
Méthodes publiques
Private Methods
Method Details
__construct()
public méthode
decode()
final public méthode
final public decode ( $data, $format ) |
denormalize()
public méthode
deserialize()
final public méthode
encode()
final public méthode
final public encode ( $data, $format ) |
getEncoder()
public méthode
normalize()
public méthode
serialize()
final public méthode
supportsDecoding()
public méthode
supportsDeserialization()
public méthode
supportsEncoding()
public méthode
supportsSerialization()
public méthode
Property Details
$denormalizerCache protected_oe property
protected $denormalizerCache |
$encoders protected_oe property
$normalizerCache protected_oe property
protected $normalizerCache |
$normalizers protected_oe property