We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 373fed5 commit 35c5d8aCopy full SHA for 35c5d8a
components/dependency_injection/definitions.rst
@@ -63,13 +63,6 @@ Class
63
First up is the class of a definition, this is the class of the object returned
64
when the service is requested from the container.
65
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
-
73
To find out what class is set for a definition::
74
75
$definition->getClass();
0 commit comments