Interface yii\queue\serializers\SerializerInterface

Implemented byyii\queue\serializers\IgbinarySerializer, yii\queue\serializers\JsonSerializer, yii\queue\serializers\PhpSerializer, yii\queue\serializers\Serializer

Interface SerializerInterface

Method Details

serialize() public abstract method

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

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