-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Updated installation instructions for lazy services #2778
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
0653d95
6900cdf
82ef841
152bd79
516969a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,9 +34,13 @@ the `ProxyManager bridge`_: | |
|
||
.. note:: | ||
|
||
If you're using the full-stack framework, this package is not included | ||
and needs to be added to ``composer.json`` and installed (which is what | ||
the above command does). | ||
If you're using the full-stack framework, the proxy manager bridge is already | ||
included but the actual proxy manager needs to be included. Therefore add | ||
|
||
"ocramius/proxy-manager": ">=0.3.1,<0.4-dev" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what about: .. code-block:: json
"require": {
"ocramius/proxy-manager": "0.4.*"
} There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sorry, I was not clear. I meaned the require block around it |
||
|
||
to your ``composer.json``. Afterwards compile your container and check if you | ||
get a proxy for your lazy services. | ||
|
||
Configuration | ||
------------- | ||
|
@@ -89,4 +93,4 @@ in the `documentation of ProxyManager`_. | |
|
||
.. _`ProxyManager bridge`: https://github.com/symfony/symfony/tree/master/src/Symfony/Bridge/ProxyManager | ||
.. _`proxy`: http://en.wikipedia.org/wiki/Proxy_pattern | ||
.. _`documentation of ProxyManager`: https://github.com/Ocramius/ProxyManager/blob/master/docs/lazy-loading-value-holder.md | ||
.. _`documentation of ProxyManager`: https://github.com/Ocramius/ProxyManager/blob/master/docs/lazy-loading-value-holder.md |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing
.. code-block:: json