Cache library for PHP5.3+

dev-master 2012-11-17 00:57 UTC

This package is not auto-updated.

Last update: 2024-11-09 14:04:08 UTC


README

Build Status

The example below demonstrates how you can set up a fully working cache system:

use Swift\Cache\Apc;

$cache = new Apc();
$cache->set('foot', 'bar');

echo $cache->get('foot');

$cache->remove('foot');

$cache['test'] = 'bar';

Resources

You can run the unit tests with the following command:

$ cd path/to/Swift/Cache/
$ curl -s https://getcomposer.org/installer | php
$ php composer.phar install --dev
$ ./vendor/mageekguy/atoum/bin/atoum --glob Tests/Units/