PHP Класс Stash\Driver\FileSystem\NativeEncoder

Наследование: implements Stash\Driver\FileSystem\EncoderInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
deserialize ( $path )
getExtension ( )
serialize ( $key, $data, $expiration = null )

Защищенные методы

Метод Описание
encode ( string $data ) : string Finds the method of encoding that has the cheapest decode needs and encodes the data with that method.

Описание методов

deserialize() публичный метод

public deserialize ( $path )

encode() защищенный метод

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
Результат string

getExtension() публичный метод

public getExtension ( )

serialize() публичный метод

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