Advertisement
Guest User

services.yml

a guest
Jun 15th, 2017
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. # Learn more about services, parameters and containers at
  2. # https://symfony.com/doc/current/service_container.html
  3. parameters:
  4. #parameter_name: value
  5.  
  6. services:
  7. # default configuration for services in *this* file
  8. _defaults:
  9. # automatically injects dependencies in your services
  10. autowire: true
  11. # automatically registers your services as commands, event subscribers, etc.
  12. autoconfigure: true
  13. # this means you cannot fetch services directly from the container via $container->get()
  14. # if you need to do this, you can override this setting on individual services
  15. public: false
  16.  
  17. twig.extension.intl:
  18. class: Twig_Extensions_Extension_Intl
  19. tags:
  20. - { name: twig.extension }
  21.  
  22. app.security.admin_login_form_authenticator:
  23. class: AdminBundle\Security\LoginFormAuthenticator
  24. autowire: true
  25.  
  26. app.doctrine.hash_password_listener:
  27. class: AdminBundle\Doctrine\HashPasswordListener
  28. autowire: true
  29. tags:
  30. - { name: doctrine.event_subscriber }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement