Skip to content

Latest commit

 

History

History
 
 

Adapter

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Phalcon\Annotations\Adapter

Usage examples of the adapters available here:

Memcached

This adapter uses a Libmemcached backend to store the cached content:

$di->set('annotations', function ()
{
    return new \Phalcon\Annotations\Adapter\Memcached(array(
        'lifetime' => 8600,
        'host'     => 'localhost',
        'port'     => 11211,
        'weight'   => 1,
        'prefix'   => 'prefix.',
    ));
});