APC cache driver

This commit is contained in:
Bartosz Romanowski
2011-06-18 23:01:52 +02:00
parent 8a4db9ff2d
commit b031fdf43d
2 changed files with 83 additions and 0 deletions

View File

@@ -18,6 +18,9 @@ class Factory {
case 'memcached':
return new Driver\Memcached;
case 'apc':
return new Driver\APC;
default:
throw new \Exception("Cache driver [$driver] is not supported.");
}