Skip to content

Commit

Permalink
[FrameworkBundle] made the Request service synchronized
Browse files Browse the repository at this point in the history
This change allows any service to depend on the Request (via a method
call) and always have the right Request instance without the need for
the service to be in the request scope (you still need to set the
Request reference as non-strict).
  • Loading branch information
fabpot committed Mar 20, 2013
1 parent ec1e7ca commit 2ffcfb9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -40,7 +40,7 @@
This service definition only defines the scope of the request.
It is used to check references scope.
-->
<service id="request" scope="request" synthetic="true" />
<service id="request" scope="request" synthetic="true" synchronized="true" />

<service id="service_container" synthetic="true" />

Expand Down

0 comments on commit 2ffcfb9

Please sign in to comment.