+ #Register twig intl extension
+ #XXX: https://www.php.net/manual/en/class.intldateformatter.php
+ #XXX: https://stackoverflow.com/questions/25948853/how-to-install-the-intl-extension-for-twig
+ rapsys_air.twig.intl:
+ class: 'Twig\Extensions\IntlExtension'
+ tags: [ 'twig.extension' ]
+ #new TwigFilter('markdown_to_html', ['Twig\\Extra\\Markdown\\MarkdownRuntime', 'convert'], ['is_safe' => ['all']]),
+ #new TwigFilter('html_to_markdown', 'Twig\\Extra\\Markdown\\twig_html_to_markdown', ['is_safe' => ['all']]),
+ #Register twig markdown_to_html extension
+ # #class: 'Twig\Extra\Markdown\DefaultMarkdown'
+ #rapsys_air.twig.markdown_eruse:
+ # class: 'Twig\Extra\Markdown\DefaultMarkdown'
+ #rapsys_air.twig.markdown_runtime:
+ # class: 'Twig\Extra\Markdown\MarkdownRuntime'
+ # arguments: [ '@rapsys_air.twig.markdown_eruse' ]
+ #rapsys_air.markdown:
+ # class: 'Twig\Extra\Markdown\MarkdownExtension'
+ # tags: [ 'twig.extension' ]
+ #Register twig pack extension
+ #rapsys_pack.pack_extension:
+ # class: 'Rapsys\PackBundle\Twig\PackExtension'
+ # arguments: [ '@file_locator', '@service_container', '@rapsys_pack.path_package' ]
+ # tags: [ 'twig.extension' ]
+ #Register application controller
+ Rapsys\AirBundle\Controller\ApplicationController:
+ arguments: [ '@service_container', '@router', '@request_stack', '@translator' ]
+ tags: [ 'controller.service_arguments' ]