]>
Commit | Line | Data |
---|---|---|
1 | services: | |
2 | wallabag_core.twig.extension: | |
3 | class: Wallabag\CoreBundle\Twig\Extension\WallabagExtension | |
4 | tags: | |
5 | - { name: twig.extension } | |
6 | ||
7 | wsse.security.authentication.provider: | |
8 | class: Wallabag\CoreBundle\Security\Authentication\Provider\WsseProvider | |
9 | public: false | |
10 | arguments: ['', '%kernel.cache_dir%/security/nonces'] | |
11 | ||
12 | wsse.security.authentication.listener: | |
13 | class: Wallabag\CoreBundle\Security\Firewall\WsseListener | |
14 | public: false | |
15 | tags: | |
16 | - { name: monolog.logger, channel: wsse } | |
17 | arguments: ['@security.context', '@security.authentication.manager', '@logger'] | |
18 | ||
19 | wallabag_core.helper.detect_active_theme: | |
20 | class: Wallabag\CoreBundle\Helper\DetectActiveTheme | |
21 | arguments: | |
22 | - @security.context | |
23 | - %theme% # default theme from parameters.yml | |
24 | ||
25 | # custom form type | |
26 | wallabag_core.form.type.config: | |
27 | class: Wallabag\CoreBundle\Form\Type\ConfigType | |
28 | arguments: | |
29 | - %liip_theme.themes% | |
30 | tags: | |
31 | - { name: form.type, alias: config } | |
32 | ||
33 | wallabag_core.form.type.forgot_password: | |
34 | class: Wallabag\CoreBundle\Form\Type\ForgotPasswordType | |
35 | arguments: | |
36 | - @doctrine | |
37 | tags: | |
38 | - { name: form.type, alias: forgot_password } | |
39 | ||
40 | wallabag_core.param_converter.username_rsstoken_converter: | |
41 | class: Wallabag\CoreBundle\ParamConverter\UsernameRssTokenConverter | |
42 | tags: | |
43 | - { name: request.param_converter, converter: username_rsstoken_converter } | |
44 | arguments: | |
45 | - @doctrine | |
46 | ||
47 | wallabag_core.doctrine.prefixed_naming_strategy: | |
48 | class: Wallabag\CoreBundle\Doctrine\Mapping\PrefixedNamingStrategy | |
49 | arguments: [%database_table_prefix%] |