PHP Class Metaphore\Store\FileStore

Inheritance: implements Metaphore\Store\ValueStoreInterface, implements Metaphore\Store\LockStoreInterface
Show file Open project: sobstel/metaphore

Protected Properties

Property Type Description
$directory string

Public Methods

Method Description
__construct ( $directory = null )
add ( $key, $value, $ttl )
delete ( $key )
get ( $key )
set ( $key, $value, $ttl )

Protected Methods

Method Description
getFileName ( $key )

Method Details

__construct() public method

public __construct ( $directory = null )

add() public method

public add ( $key, $value, $ttl )

delete() public method

public delete ( $key )

get() public method

public get ( $key )

getFileName() protected method

protected getFileName ( $key )

set() public method

public set ( $key, $value, $ttl )

Property Details

$directory protected property

protected string $directory
return string