Skip to content

Commit

Permalink
minor #6559 Update lazy_services.rst (hboomsma)
Browse files Browse the repository at this point in the history
This PR was submitted for the 3.0 branch but it was merged into the 2.7 branch instead (closes #6559).

Discussion
----------

Update lazy_services.rst

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | ^3.0.0
| Fixed tickets |

�$ composer require ocramius/proxy-manager:~2.0 instead of 1.0

Commits
-------

1f18702 Update lazy_services.rst
  • Loading branch information
wouterj committed Jul 8, 2016
2 parents 70c980d + 1f18702 commit 4c567b2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/dependency_injection/lazy_services.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ the `ProxyManager bridge`_:
So, run:

.. code-block:: bash
$ composer require ocramius/proxy-manager:~1.0
$ 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

0 comments on commit 4c567b2

Please sign in to comment.