Skip to content

Commit a8b45ad

Browse files
Update components/dependency_injection.rst
Co-authored-by: Oskar Stark <[email protected]>
1 parent fbfdaeb commit a8b45ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/dependency_injection.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ By default, an exception is throw when a service does not exist. You can overrid
188188

189189
Possible behaviors are:
190190

191-
* ``ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE``: Throws an exception at compilation time **default**
191+
* ``ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE``: Throws an exception at compile time **default**
192192
* ``ContainerInterface::NULL_ON_INVALID_REFERENCE``: Returns null
193193
* ``ContainerInterface::IGNORE_ON_INVALID_REFERENCE``: Ignores the wrapping command asking for the reference (for instance, ignore a setter if the service does not exist)
194194
* ``ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE``: Ignores/returns null for uninitialized services or invalid references

0 commit comments

Comments
 (0)