Cache\FrontendInterface::stop

abstract public stop () ...

Cache\Frontend\Base64

implements Phalcon\Cache\FrontendInterface Source on GitHub Allows to cache data converting/deconverting them to base64. This adapter uses the base64_encode/base64_decode PHP’s functions <?php // Cache the files for 2 days using a Base64 frontend $frontCache = new \Phalcon\Cache\Frontend\Base64(array( "lifetime" => 172800 )); //Create a MongoDB cache $cache = new \Phalcon\Cache\Backend\Mongo($frontCache, array( 'server' => "mongodb://localhost", 'db' => 'caches'

Cache\Backend\Xcache::save

public save ([int | string $keyName], [string $content], [long $lifetime], [boolean $stopBuffer]) Stores cached content into the file backend and stops the frontend

Cache\FrontendInterface

Source on GitHub Methods abstract public getLifetime () ... abstract public isBuffering () ... abstract public start () ... abstract public getContent () ... abstract public stop () ... abstract public beforeStore (mixed $data) ... abstract public afterRetrieve (mixed $data) ...

Cache\FrontendInterface::getContent

abstract public getContent () ...

Cache\FrontendInterface::start

abstract public start () ...

Cache\FrontendInterface::getLifetime

abstract public getLifetime () ...

Cache\Exception

extends class Phalcon\Exception implements Throwable Source on GitHub Methods final private Exception __clone () inherited from Exception Clone the exception public __construct ([string $message], [int $code], [Exception $previous]) inherited from Exception Exception constructor public __wakeup () inherited from Exception ... final public string getMessage () inherited from Exception Gets the Exception message final public int getCode () inherited from Exception Gets the Exception code fin

Cache\FrontendInterface::isBuffering

abstract public isBuffering () ...

Cache\FrontendInterface::beforeStore

abstract public beforeStore (mixed $data) ...