Skip to content

Commit d44b176

Browse files
committed
Merge pull request #1335 from richardmiller/cleaning_up_di_definitions
Cleaning up di definitions
2 parents 373fed5 + 35c5d8a commit d44b176

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

components/dependency_injection/definitions.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,6 @@ Class
6363
First up is the class of a definition, this is the class of the object returned
6464
when the service is requested from the container.
6565

66-
You may want to change the class used by a definition, if for example there is
67-
functionality which can only be used if a service from another bundle exists
68-
then you may have a class which make use of that other service and one that
69-
does not. The one that does not could be used for the service and then the
70-
one with the extra functionality swapped in using a compiler pass if the other
71-
service is available.
72-
7366
To find out what class is set for a definition::
7467

7568
$definition->getClass();

0 commit comments

Comments
 (0)