MAKS\AmqpAgent\Helper\Serializer::deserialize
Deserializes the passed or registered data. When no parameters are passed, it uses the registered ones.
$data
— string- [optional] The data to unserialize.
$type
— string- [optional] The type of unserialization.
$strict
— bool- [optional] Whether or not to assert that no errors have occurred while executing unserialization functions.
- mixed
- A PHP type on success or false or null on failure.
- Coverage: 1/1 Lines (100%)
- Tests: 1
- Passed: 1 (100%)
- [ PASSED ] — MAKS\AmqpAgent\Tests\Helper\SerializerTest::testSerializerWhenUnserializeMethodIsCalled
Signature
public function deserialize([string
$data = NULL,
[string
$type = NULL,
[bool
$strict = NULL]]] )