From 44a7927c8724586b26de4054c7ff849f61fabbce Mon Sep 17 00:00:00 2001 From: Matyas Somfai Date: Fri, 3 Jan 2014 12:47:51 +0100 Subject: [PATCH] added silent property to options --- DependencyInjection/Configuration.php | 3 +++ README.markdown | 1 + Resources/config/services.xml | 1 + 3 files changed, 5 insertions(+) diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 7fe61f4..c3378db 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -48,6 +48,9 @@ public function getConfigTreeBuilder() ->booleanNode('lowercase') ->defaultValue(false) ->end() + ->booleanNode('silent') + ->defaultValue(false) + ->end() ->scalarNode('timeout') ->defaultValue(5) ->end() diff --git a/README.markdown b/README.markdown index fb58d9f..51b7c18 100644 --- a/README.markdown +++ b/README.markdown @@ -41,6 +41,7 @@ You can see the configuration values and information by running `php app/console cache_filename: 'cache.php' ini_filename: 'browscap.ini' lowercase: false # You need to rebuild the cache if this option is changed + silent: false ## Usage diff --git a/Resources/config/services.xml b/Resources/config/services.xml index 5b1eced..694c572 100644 --- a/Resources/config/services.xml +++ b/Resources/config/services.xml @@ -20,6 +20,7 @@ %browscap.update_method% %browscap.local_file% %browscap.lowercase% + %browscap.silent% %browscap.cache_filename% %browscap.ini_filename%