aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/default/container/services_routing.yml
diff options
context:
space:
mode:
authorMateBartus <mate.bartus@gmail.com>2015-04-30 22:40:17 +0200
committerMateBartus <mate.bartus@gmail.com>2015-05-02 23:45:45 +0200
commit74dbaac0394f45955553ff46515404fe5b06bfba (patch)
treec39a492b728395e7b25409a96f25f9a109ea0ef9 /phpBB/config/default/container/services_routing.yml
parent85967425795773b7cb4116bb05adef810fb8bc07 (diff)
downloadforums-74dbaac0394f45955553ff46515404fe5b06bfba.tar
forums-74dbaac0394f45955553ff46515404fe5b06bfba.tar.gz
forums-74dbaac0394f45955553ff46515404fe5b06bfba.tar.bz2
forums-74dbaac0394f45955553ff46515404fe5b06bfba.tar.xz
forums-74dbaac0394f45955553ff46515404fe5b06bfba.zip
[ticket/13800] Make router's extension manager dependency optional
PHPBB3-13800
Diffstat (limited to 'phpBB/config/default/container/services_routing.yml')
-rw-r--r--phpBB/config/default/container/services_routing.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/phpBB/config/default/container/services_routing.yml b/phpBB/config/default/container/services_routing.yml
new file mode 100644
index 0000000000..6749202c0d
--- /dev/null
+++ b/phpBB/config/default/container/services_routing.yml
@@ -0,0 +1,19 @@
+services:
+ router:
+ class: phpbb\routing\router
+ arguments:
+ - @filesystem
+ - %core.root_path%
+ - %core.php_ext%
+ - %core.environment%
+ - @ext.manager
+
+ router.listener:
+ class: Symfony\Component\HttpKernel\EventListener\RouterListener
+ arguments:
+ - @router
+ - null
+ - null
+ - @request_stack
+ tags:
+ - { name: kernel.event_subscriber }