Skip to content
This repository was archived by the owner on Jan 8, 2024. It is now read-only.

Commit eec9706

Browse files
committed
Fixed configuration validator
1 parent 6113ec2 commit eec9706

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DependencyInjection/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Configuration implements ConfigurationInterface
3434
public function getConfigTreeBuilder()
3535
{
3636
$treeBuilder = new TreeBuilder();
37-
$rootNode = $treeBuilder->root('php_fast_cache');
37+
$rootNode = $treeBuilder->root('phpfastcache');
3838

3939
$rootNode
4040
->children()
@@ -48,7 +48,7 @@ public function getConfigTreeBuilder()
4848
->useAttributeAsKey('name')
4949
->prototype('array')
5050
->children()
51-
->enumNode('type')->isRequired()->values(CacheManager::getStaticAllDrivers())->end() // @TODO : Add all available drivers
51+
->enumNode('type')->isRequired()->values(CacheManager::getDriverList())->end() // @TODO : Add all available drivers
5252
->arrayNode('parameters')->isRequired()->prototype('variable')->end()
5353
->end()
5454
->end()

0 commit comments

Comments
 (0)