diff --git a/components/dependency_injection/lazy_services.rst b/components/dependency_injection/lazy_services.rst index b6f8577da23..f9cc065be74 100644 --- a/components/dependency_injection/lazy_services.rst +++ b/components/dependency_injection/lazy_services.rst @@ -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.