wallabag/app/config/services.yml

45 lines
1.4 KiB
YAML
Raw Normal View History

2015-01-22 08:30:07 +01:00
parameters:
2015-08-22 15:35:28 +02:00
lexik_form_filter.get_filter.doctrine_orm.class: Wallabag\CoreBundle\Event\Subscriber\CustomDoctrineORMSubscriber
2015-01-22 08:30:07 +01:00
services:
2015-03-27 19:46:36 +01:00
# used for tests
filesystem_cache:
class: Doctrine\Common\Cache\FilesystemCache
arguments:
2016-04-12 20:38:56 +02:00
- "%kernel.cache_dir%/doctrine/metadata"
twig.extension.text:
class: Twig_Extensions_Extension_Text
tags:
- { name: twig.extension }
2015-09-29 23:11:27 +02:00
wallabag.twig_extension:
class: Wallabag\CoreBundle\Twig\WallabagExtension
public: false
arguments:
- "@wallabag_core.entry_repository"
- "@wallabag_core.tag_repository"
- "@security.token_storage"
- "%wallabag_core.cache_lifetime%"
2016-10-01 15:58:26 +02:00
- "@translator"
2015-09-29 23:11:27 +02:00
tags:
- { name: twig.extension }
2015-10-01 16:28:38 +02:00
2016-02-19 15:27:57 +01:00
wallabag.twig_piwik_extension:
2016-02-22 10:58:43 +01:00
class: PiwikTwigExtension\PiwikTwigExtension
2016-02-19 15:27:57 +01:00
public: false
tags:
- { name: twig.extension }
2015-10-01 16:28:38 +02: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 }