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 97ea1f2 commit a2da566Copy full SHA for a2da566
testing.rst
@@ -311,7 +311,6 @@ concrete one::
311
])
312
;
313
314
- // the following line won't work unless the alias is made public
315
$container->set(NewsRepositoryInterface::class, $newsRepository);
316
317
// will be injected the mocked repository
@@ -326,8 +325,8 @@ that allows you to interact with private services and aliases.
326
325
327
.. versionadded:: 6.3
328
329
- The possibility to set a private service with the test service container without
330
- declaring the alias as public was introduced in Symfony 6.3.
+ The possibility to set a private service with the test service container
+ without declaring a public alias for it was introduced in Symfony 6.3.
331
332
.. _testing-databases:
333
0 commit comments