Skip to content

Commit 4c567b2

Browse files
committed
minor #6559 Update lazy_services.rst (hboomsma)
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
2 parents 70c980d + 1f18702 commit 4c567b2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

components/dependency_injection/lazy_services.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ the `ProxyManager bridge`_:
3939
So, run:
4040

4141
.. code-block:: bash
42-
43-
$ composer require ocramius/proxy-manager:~1.0
42+
43+
$ composer require ocramius/proxy-manager:~1.0 # for PHP 5
44+
$ composer require ocramius/proxy-manager:~2.0 # for PHP 7
4445
4546
Afterwards compile your container and check to make sure that you get
4647
a proxy for your lazy services.

0 commit comments

Comments
 (0)