Skip to content

Commit

Permalink
Add memcache support
Browse files Browse the repository at this point in the history
  • Loading branch information
Miha Vrhovnik committed Sep 25, 2012
1 parent cfd3ba8 commit e2afc25
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion DependencyInjection/Configuration.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ class Configuration implements ConfigurationInterface
'ttl' => 300, 'ttl' => 300,
'namespace' => null, 'namespace' => null,
), ),
'Memcache' => array(
'ttl' => 300,
'namespace' => null,
),
); );


public function getConfigTreeBuilder() public function getConfigTreeBuilder()
Expand Down Expand Up @@ -62,7 +66,7 @@ public function getConfigTreeBuilder()


public function addHandlerSettings($handler, $rootNode) public function addHandlerSettings($handler, $rootNode)
{ {
if($handler == 'Memcached') { if($handler == 'Memcache') {
$rootNode $rootNode
->children() ->children()
->variableNode($handler) ->variableNode($handler)
Expand Down

0 comments on commit e2afc25

Please sign in to comment.