PHP Class yii2tech\balance\CallbackSerializer

Since: 1.0
Author: Paul Klimov ([email protected])
Inheritance: extends yii\base\Object, implements yii2tech\balance\SerializerInterface
Show file Open project: yii2tech/balance Class Usage Examples

Public Properties

Property Type Description
$serialize PHP callback, which should be used to serialize value.
$unserialize PHP callback, which should be used to unserialize value.

Public Methods

Method Description
serialize ( $value )
unserialize ( $value )

Method Details

serialize() public method

public serialize ( $value )

unserialize() public method

public unserialize ( $value )

Property Details

$serialize public property

PHP callback, which should be used to serialize value.
public $serialize

$unserialize public property

PHP callback, which should be used to unserialize value.
public $unserialize