Upgraded CraueConfigBundle to 2.0

This commit is contained in:
Nicolas Lœuillet
2017-05-12 16:33:12 +02:00
parent 06568b15bb
commit 3b792787d7
5 changed files with 14 additions and 13 deletions

View File

@ -6,6 +6,7 @@ imports:
parameters:
# Allows to use the live reload feature for changes in assets
use_webpack_dev_server: false
craue_config.cache_adapter.class: Craue\ConfigBundle\CacheAdapter\SymfonyCacheComponentAdapter
framework:
#esi: ~

View File

@ -42,3 +42,11 @@ services:
arguments: ["@session"]
tags:
- { name: kernel.event_listener, event: security.interactive_login, method: onInteractiveLogin }
craue_config_cache_provider:
class: Symfony\Component\Cache\Adapter\FilesystemAdapter
public: false
arguments:
- 'craue_config'
- 0
- '%kernel.cache_dir%'