Skip to content

Commit e6a6c33

Browse files
alexislefebvrejaviereguiluz
authored andcommitted
Add warning about removed services
1 parent 9f6437b commit e6a6c33

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

testing.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,12 @@ container is a service that can be get via the normal container::
590590
// ...
591591
}
592592

593+
.. caution::
594+
595+
The special container ``test.service_container`` doesn't give access
596+
to the services that have been removed. In this case, you'll have
597+
to declare the services you need as public.
598+
593599
.. tip::
594600

595601
If the information you need to check is available from the profiler, use

0 commit comments

Comments
 (0)