예제 #1
0
파일: XCache.php 프로젝트: endeveit/cache
 /**
  * {@inheritdoc}
  *
  * @codeCoverageIgnore
  * @param array $options
  */
 public function __construct(array $options = array())
 {
     parent::__construct($options);
     $this->callbacks = array('increment' => 'xcache_inc', 'decrement' => 'xcache_dec', 'exists' => 'xcache_isset', 'load' => 'xcache_get', 'save' => 'xcache_set');
 }
예제 #2
0
파일: Apc.php 프로젝트: endeveit/cache
 /**
  * {@inheritdoc}
  *
  * @codeCoverageIgnore
  * @param array $options
  */
 public function __construct(array $options = array())
 {
     parent::__construct($options);
     $this->callbacks = array('increment' => 'apc_inc', 'decrement' => 'apc_dec', 'exists' => 'apc_exists', 'load' => 'apc_fetch', 'save' => 'apc_store');
 }