PHP Interface yii2tech\balance\SerializerInterface

See also: ManagerDataSerializeTrait
Since: 1.0
Author: Paul Klimov ([email protected])
Afficher le fichier Open project: yii2tech/balance

Méthodes publiques

Méthode Description
serialize ( mixed $value ) : string Serializes given value.
unserialize ( string $value ) : mixed Restores value from its serialized representations

Method Details

serialize() public méthode

Serializes given value.
public serialize ( mixed $value ) : string
$value mixed value to be serialized
Résultat string serialized value.

unserialize() public méthode

Restores value from its serialized representations
public unserialize ( string $value ) : mixed
$value string serialized string.
Résultat mixed restored value