X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2Fconfig%2Fservices.yml;h=ff6a582bb36bfee7b006168eaa5889badde0d69d;hb=1210dae10589515d6f3824c75639342c5e1d52dd;hp=91a03e10e13d5d03612c1e18a910db5e2143456a;hpb=d9085c63e35bb708f560722fff5f4f5ad322c27b;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/config/services.yml b/app/config/services.yml index 91a03e10..ff6a582b 100644 --- a/app/config/services.yml +++ b/app/config/services.yml @@ -1,11 +1,20 @@ -# Learn more about services, parameters and containers at -# http://symfony.com/doc/current/book/service_container.html 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: -# service_name: -# class: AppBundle\Directory\ClassName -# arguments: ["@another_service_name", "plain_value", "%parameter_name%"] + # used for tests + filesystem_cache: + 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 }