added apc session driver.

This commit is contained in:
Taylor Otwell
2011-06-21 23:19:37 -05:00
parent 24c2344ae4
commit 3b63335c95
3 changed files with 53 additions and 1 deletions

View File

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