Skip to content

Update lazy_services.rst #6559

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

Closed
wants to merge 3 commits into from
Closed
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
5 changes: 3 additions & 2 deletions components/dependency_injection/lazy_services.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ the `ProxyManager bridge`_:
So, run:

.. code-block:: bash

$ composer require ocramius/proxy-manager:~1.0

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The blank line needs to be preserved.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blank line is back 👍

$ composer require ocramius/proxy-manager:~1.0 # for PHP 5
$ composer require ocramius/proxy-manager:~2.0 # for PHP 7

Afterwards compile your container and check to make sure that you get
a proxy for your lazy services.
Expand Down