2015-01-22 07:30:07 +00:00
|
|
|
parameters:
|
2015-08-22 13:35:28 +00:00
|
|
|
lexik_form_filter.get_filter.doctrine_orm.class: Wallabag\CoreBundle\Event\Subscriber\CustomDoctrineORMSubscriber
|
2015-01-22 07:30:07 +00:00
|
|
|
|
|
|
|
services:
|
2015-03-27 18:46:36 +00:00
|
|
|
# used for tests
|
|
|
|
filesystem_cache:
|
|
|
|
class: Doctrine\Common\Cache\FilesystemCache
|
|
|
|
arguments:
|
2016-04-12 18:38:56 +00:00
|
|
|
- "%kernel.cache_dir%/doctrine/metadata"
|
2015-08-24 20:09:57 +00:00
|
|
|
|
|
|
|
twig.extension.text:
|
|
|
|
class: Twig_Extensions_Extension_Text
|
|
|
|
tags:
|
|
|
|
- { name: twig.extension }
|
2015-09-29 21:11:27 +00:00
|
|
|
|
|
|
|
wallabag.twig_extension:
|
|
|
|
class: Wallabag\CoreBundle\Twig\WallabagExtension
|
|
|
|
public: false
|
2016-04-21 20:30:50 +00:00
|
|
|
arguments:
|
|
|
|
- "@wallabag_core.entry_repository"
|
2016-09-04 18:53:28 +00:00
|
|
|
- "@wallabag_core.tag_repository"
|
2016-04-21 20:30:50 +00:00
|
|
|
- "@security.token_storage"
|
2016-09-04 18:53:28 +00:00
|
|
|
- "%wallabag_core.cache_lifetime%"
|
2015-09-29 21:11:27 +00:00
|
|
|
tags:
|
|
|
|
- { name: twig.extension }
|
2015-10-01 14:28:38 +00:00
|
|
|
|
2016-02-19 14:27:57 +00:00
|
|
|
wallabag.twig_piwik_extension:
|
2016-02-22 09:58:43 +00:00
|
|
|
class: PiwikTwigExtension\PiwikTwigExtension
|
2016-02-19 14:27:57 +00:00
|
|
|
public: false
|
|
|
|
tags:
|
|
|
|
- { name: twig.extension }
|
|
|
|
|
2015-10-01 14:28:38 +00:00
|
|
|
wallabag.locale_listener:
|
|
|
|
class: Wallabag\CoreBundle\EventListener\LocaleListener
|
|
|
|
arguments: ["%kernel.default_locale%"]
|
|
|
|
tags:
|
|
|
|
- { name: kernel.event_subscriber }
|
|
|
|
|
|
|
|
wallabag.user_locale_listener:
|
|
|
|
class: Wallabag\CoreBundle\EventListener\UserLocaleListener
|
|
|
|
arguments: ["@session"]
|
|
|
|
tags:
|
|
|
|
- { name: kernel.event_listener, event: security.interactive_login, method: onInteractiveLogin }
|