+ #rapsys_air.twig.bb2html:
+ # class: 'Rapsys\AirBundle\Twig\Bb2htmlExtension'
+ # tags: [ 'twig.extension' ]
+ #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: [ '@security.authorization_checker', '@service_container', '@rapsys_user.access_decision_manager', '@doctrine', '@rapsys_air.facebook_util', '@form.factory', '@rapsys_pack.image_util', '@mailer.mailer', '@doctrine.orm.default_entity_manager', '@rapsys_pack.map_util', '@rapsys_pack.path_package', '@router', '@rapsys_pack.slugger_util', '@request_stack', '@translator' ]
+ tags: [ 'controller.service_arguments' ]
+ #Register calendar controller
+ Rapsys\AirBundle\Controller\CalendarController:
+ arguments: [ '@security.authorization_checker', '@service_container', '@rapsys_user.access_decision_manager', '@doctrine', '@rapsys_air.facebook_util', '@form.factory', '@rapsys_pack.image_util', '@mailer.mailer', '@doctrine.orm.default_entity_manager', '@rapsys_pack.map_util', '@rapsys_pack.path_package', '@router', '@rapsys_pack.slugger_util', '@request_stack', '@translator' ]
+ tags: [ 'controller.service_arguments' ]