PHP Interface Mmoreram\RSQueueBundle\Serializer\Interfaces\SerializerInterface

This class must implements two methods, one for serialize data and another for unserialize it.
Afficher le fichier Open project: mmoreram/rsqueue-bundle

Méthodes publiques

Méthode Description
apply ( Mixed $unserializedData ) : string Given any kind of object, apply serialization
revert ( String $serializedData ) : mixed Given any kind of object, apply serialization

Method Details

apply() public méthode

Given any kind of object, apply serialization
public apply ( Mixed $unserializedData ) : string
$unserializedData Mixed Data to serialize
Résultat string

revert() public méthode

Given any kind of object, apply serialization
public revert ( String $serializedData ) : mixed
$serializedData String Data to unserialize
Résultat mixed