PHP Class Stash\Driver\FileSystem\NativeEncoder

Inheritance: implements Stash\Driver\FileSystem\EncoderInterface
Afficher le fichier Open project: tedivm/stash

Méthodes publiques

Méthode Description
deserialize ( $path )
getExtension ( )
serialize ( $key, $data, $expiration = null )

Méthodes protégées

Méthode Description
encode ( string $data ) : string Finds the method of encoding that has the cheapest decode needs and encodes the data with that method.

Method Details

deserialize() public méthode

public deserialize ( $path )

encode() protected méthode

Finds the method of encoding that has the cheapest decode needs and encodes the data with that method.
protected encode ( string $data ) : string
$data string
Résultat string

getExtension() public méthode

public getExtension ( )

serialize() public méthode

public serialize ( $key, $data, $expiration = null )