X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2Fconfig%2Fservices.yml;h=965bc3195e68d69924753ef7929a85b15526d30d;hb=refs%2Fpull%2F1440%2Fhead;hp=af22d3818cd7880c02c7ac8f67cbd610992b9242;hpb=a05be8abecfe9e5dc032a93ba1a0b6063f3f7c9b;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/config/services.yml b/app/config/services.yml index af22d381..965bc319 100644 --- a/app/config/services.yml +++ b/app/config/services.yml @@ -4,6 +4,7 @@ parameters: security.authentication.provider.dao.class: Wallabag\CoreBundle\Security\Authentication\Provider\WallabagAuthenticationProvider security.encoder.digest.class: Wallabag\CoreBundle\Security\Authentication\Encoder\WallabagPasswordEncoder security.validator.user_password.class: Wallabag\CoreBundle\Security\Validator\WallabagUserPasswordValidator + lexik_form_filter.get_filter.doctrine_orm.class: Wallabag\CoreBundle\Event\Subscriber\CustomDoctrineORMSubscriber services: # used for tests @@ -11,3 +12,14 @@ services: class: Doctrine\Common\Cache\FilesystemCache arguments: - %kernel.cache_dir%/doctrine/metadata + + twig.extension.text: + class: Twig_Extensions_Extension_Text + tags: + - { name: twig.extension } + + wallabag.twig_extension: + class: Wallabag\CoreBundle\Twig\WallabagExtension + public: false + tags: + - { name: twig.extension }