1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[feature/controller] Use a dumped url matcher class to improve performance

PHPBB3-10864
This commit is contained in:
David King
2012-11-14 15:42:13 -05:00
parent 5877bf1b1b
commit d3aa8823b2
4 changed files with 106 additions and 55 deletions

View File

@@ -123,7 +123,7 @@ services:
- @ext.manager
- %core.root_path%
- @cache.driver
- .%core.php_ext%
- %core.php_ext%
- _ext_finder
http_kernel:
@@ -137,22 +137,15 @@ services:
arguments:
- @template
- @user
- @ext.finder
- %core.root_path%
- .%core.php_ext%
tags:
- { name: kernel.event_subscriber }
request:
class: phpbb_request
request.context:
class: Symfony\Component\Routing\RequestContext
router_listener:
class: Symfony\Component\HttpKernel\EventListener\RouterListener
arguments:
- @url_matcher
tags:
- { name: kernel.event_subscriber }
style:
class: phpbb_style
arguments:
@@ -189,11 +182,5 @@ services:
template_context:
class: phpbb_template_context
url_matcher:
class: Symfony\Component\Routing\Matcher\UrlMatcher
arguments:
- @controller.route_collection
- @request.context
user:
class: phpbb_user