Skip to content

Commit

Permalink
Add info texts to cache service definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
mfeltscher committed Feb 5, 2016
1 parent beb34c7 commit 337edc9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions DependencyInjection/Configuration.php
Expand Up @@ -54,8 +54,14 @@ public function getConfigTreeBuilder()
->arrayNode('redis')
->addDefaultsIfNotSet()
->children()
->scalarNode('client_service')->defaultValue('snc_redis.default')->end()
->scalarNode('key_prefix')->defaultValue('smartive-handlebars:')->end()
->scalarNode('client_service')
->info('Service ID of the Redis client to use - has to be of type \Predis\Client or \Redis.')
->defaultValue('snc_redis.default')
->end()
->scalarNode('key_prefix')
->info('The key prefix to use when storing objects in Redis.')
->defaultValue('smartive-handlebars:')
->end()
->end()
->end()
->end()
Expand Down

0 comments on commit 337edc9

Please sign in to comment.