Skip to content

Commit

Permalink
Add ArrayCache support.
Browse files Browse the repository at this point in the history
  • Loading branch information
barryo committed Feb 9, 2015
1 parent 3f0ee92 commit 95d9808
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Doctrine2Bridge/Doctrine2CacheBridgeServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ private function registerCache()

switch( $config['type'] )
{
case 'ArrayCache':
$cache = new $cacheClass();
break;

case 'FilesystemCache':
$cache = new $cacheClass( $config['dir'] );
break;
Expand Down

0 comments on commit 95d9808

Please sign in to comment.