Skip to content

Commit 0709136

Browse files
mvrhovNyholm
authored andcommitted
Register twig desc filter (#165)
1 parent aca7ce7 commit 0709136

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Resources/config/services.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,8 @@ services:
5454
public: true
5555
class: Translation\Bundle\Catalogue\CatalogueCounter
5656
arguments: []
57+
58+
php_translation.twig_extension:
59+
class: Translation\Extractor\Twig\TranslationExtension
60+
tags:
61+
- { name: twig.extension }

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
"php-translation/common": "^0.2.1",
2121
"php-translation/symfony-storage": "^0.4.0",
22-
"php-translation/extractor": "^1.2"
22+
"php-translation/extractor": "^1.3"
2323
},
2424
"require-dev": {
2525
"symfony/phpunit-bridge": "^3.4 || ^4.0",

0 commit comments

Comments
 (0)