Cache\BackendInterface

Interface Phalcon\Cache\BackendInterface

Phalcon\Cache\BackendInterface initializer

Methods

abstract public mixed start (int|string $keyName, [long $lifetime])

Starts a cache. The $keyname allows to identify the created fragment

abstract public stop ([boolean $stopBuffer])

Stops the frontend without store any cached content

abstract public mixed getFrontend ()

Returns front-end instance adapter related to the back-end

abstract public array getOptions ()

Returns the backend options

abstract public boolean登录查看完整内容