Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Commit

Permalink
Merge pull request #1 from smatyas/silent-option
Browse files Browse the repository at this point in the history
Silent option
  • Loading branch information
Spomky committed Jan 3, 2014
2 parents d50c5ab + 44a7927 commit b103a2d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ public function getConfigTreeBuilder()
->booleanNode('lowercase')
->defaultValue(false)
->end()
->booleanNode('silent')
->defaultValue(false)
->end()
->scalarNode('timeout')
->defaultValue(5)
->end()
Expand Down
1 change: 1 addition & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions Resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<property name="updateMethod">%browscap.update_method%</property>
<property name="localFile">%browscap.local_file%</property>
<property name="lowercase">%browscap.lowercase%</property>
<property name="silent">%browscap.silent%</property>
<property name="cacheFilename">%browscap.cache_filename%</property>
<property name="iniFilename">%browscap.ini_filename%</property>
</service>
Expand Down

0 comments on commit b103a2d

Please sign in to comment.