File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -392,17 +392,13 @@ itself.
392
392
393
393
Extending the base class is *optional * in Symfony; it contains useful
394
394
shortcuts but nothing mandatory. You can also extend
395
- :class: `Symfony\\ Component\\ DependencyInjection\\ ContainerAware `. The service
396
- container object will then be accessible via the ``container `` property.
397
-
398
- .. tip ::
399
-
400
- If your host uses PHP 5.4 or higher, you can also use the
401
- class:`Symfony\\Component\\DependencyInjection\\ContainerAwareTrait ` trait to
402
- make the container accessible via the ``container `` property.
395
+ :class: `Symfony\\ Component\\ DependencyInjection\\ ContainerAware ` or use
396
+ the class:`Symfony\\Component\\DependencyInjection\\ContainerAwareTrait ` trait
397
+ (if you have PHP 5.4). The service container object will then be accessible
398
+ via the ``container `` property.
403
399
404
400
.. versionadded :: 2.4
405
- The ``ContainerAwareTrait `` is new in Symfony 2.4
401
+ The ``ContainerAwareTrait `` is new in Symfony 2.4.
406
402
407
403
.. note ::
408
404
You can’t perform that action at this time.
0 commit comments