Skip to content

Tweak doc around proxy manager bridge #14730

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

Merged
merged 1 commit into from
Dec 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions service_container/lazy_services.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ To check if your proxy works you can check the interface of the received object:

.. note::

If you don't install the `ProxyManager bridge`_ and the
`ocramius/proxy-manager`_, the container will skip over the ``lazy``
flag and directly instantiate the service as it would normally do.
If you don't install the `ProxyManager bridge`_ , the container will skip
over the ``lazy`` flag and directly instantiate the service as it would
normally do.

Additional Resources
--------------------
Expand All @@ -106,5 +106,4 @@ in the `documentation of ProxyManager`_.
.. _`ProxyManager bridge`: https://github.com/symfony/symfony/tree/master/src/Symfony/Bridge/ProxyManager
.. _`proxy`: https://en.wikipedia.org/wiki/Proxy_pattern
.. _`documentation of ProxyManager`: https://github.com/Ocramius/ProxyManager/blob/master/docs/lazy-loading-value-holder.md
.. _`ocramius/proxy-manager`: https://github.com/Ocramius/ProxyManager
.. _`final`: https://www.php.net/manual/en/language.oop5.final.php