PHP Class Mmoreram\RSQueueBundle\Serializer\JsonSerializer

Inheritance: implements Mmoreram\RSQueueBundle\Serializer\Interfaces\SerializerInterface
Show file Open project: mmoreram/rsqueue-bundle Class Usage Examples

Public Methods

Method 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 method

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

revert() public method

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