PHP Class Application\Cache\Manager

Inheritance: extends Phalcon\Mvc\User\Component
Show file Open project: oleksandr-torosh/yona-cms

Public Methods

Method Description
delete ( $key )
key ( array $params = [] )
load ( $key, $closure, $lifetime = 60 ) Get cache data. If data not exists, generate data and save to cache
save ( $key, $data, $lifetime )

Method Details

delete() public method

public delete ( $key )

key() public method

public key ( array $params = [] )
$params array

load() public method

Get cache data. If data not exists, generate data and save to cache
public load ( $key, $closure, $lifetime = 60 )

save() public method

public save ( $key, $data, $lifetime )