Issue #2004086 by fabpot: Stopgap fix for making the Request service synthetic.

8.0.x
Alex Pott 2013-06-13 21:49:26 +01:00
parent c3ac610725
commit b0113327fa
1 changed files with 5 additions and 0 deletions

View File

@ -159,6 +159,11 @@ services:
arguments: ['@container.namespaces']
request:
class: Symfony\Component\HttpFoundation\Request
# @TODO the synthetic setting must be uncommented whenever drupal_session_initialize()
# is run after there is a request and the following two lines should be removed.
factory_class: Symfony\Component\HttpFoundation\Request
factory_method: createFromGlobals
#synthetic: true
event_dispatcher:
class: Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher
arguments: ['@service_container']