Class yii\queue\serializers\IgbinarySerializer

Inheritanceyii\queue\serializers\IgbinarySerializer » yii\base\BaseObject
Implementsyii\queue\serializers\SerializerInterface

Class IgbinarySerializer

It uses an alternative serializer available via PECL extension which produces more compact data chunks significantly faster that native PHP one.

Method Details

serialize() public method

public string serialize ( $job )
$job yii\queue\JobInterface|mixed
unserialize() public method

public yii\queue\JobInterface unserialize ( $serialized )
$serialized string