symfony API

sfAPCCache Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website

« Back to API menu


You are currently browsing the symfony API for the 1.2 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

Cache class that stores cached content in APC.


sfAPCCache  <  sfCache

Method Summary

Methods inherited from sfCache

clean , get , getBackend , getLastModified , getLifetime , getMany , getOption , getTimeout , has , initialize , patternToRegexp , remove , removePattern , set , setOption , __construct

Method Details

  • clean ($mode = sfCache::ALL)


  • get ($key, $default = null)


  • getCacheInfo ($key)


  • getLastModified ($key)


  • getTimeout ($key)


  • has ($key)


  • initialize ($options = array())


    Initializes this sfCache instance.

    Available options:

    * see sfCache for options available for all drivers

  • remove ($key)


  • removePattern ($pattern)


  • set ($key, $data, $lifetime = null)