Skip to content

Commit 465afe8

Browse files
peterrehmweaverryan
authored andcommitted
Mentioning the include of ocramius/proxy-manager for full-stack framework
1 parent f972c47 commit 465afe8

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

components/dependency_injection/lazy_services.rst

+8-4
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,13 @@ the `ProxyManager bridge`_:
3434
3535
.. note::
3636

37-
If you're using the full-stack framework, this package is not included
38-
and needs to be added to ``composer.json`` and installed (which is what
39-
the above command does).
37+
If you're using the full-stack framework, the proxy manager bridge is already
38+
included but the actual proxy manager needs to be included. Therefore add
39+
40+
"ocramius/proxy-manager": ">=0.3.1,<0.4-dev"
41+
42+
to your ``composer.json``. Afterwards compile your container and check if you
43+
get a proxy for your lazy services.
4044

4145
Configuration
4246
-------------
@@ -89,4 +93,4 @@ in the `documentation of ProxyManager`_.
8993

9094
.. _`ProxyManager bridge`: https://github.com/symfony/symfony/tree/master/src/Symfony/Bridge/ProxyManager
9195
.. _`proxy`: http://en.wikipedia.org/wiki/Proxy_pattern
92-
.. _`documentation of ProxyManager`: https://github.com/Ocramius/ProxyManager/blob/master/docs/lazy-loading-value-holder.md
96+
.. _`documentation of ProxyManager`: https://github.com/Ocramius/ProxyManager/blob/master/docs/lazy-loading-value-holder.md

0 commit comments

Comments
 (0)