File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -311,7 +311,6 @@ concrete one::
311
311
])
312
312
;
313
313
314
- // the following line won't work unless the alias is made public
315
314
$container->set(NewsRepositoryInterface::class, $newsRepository);
316
315
317
316
// will be injected the mocked repository
@@ -326,8 +325,8 @@ that allows you to interact with private services and aliases.
326
325
327
326
.. versionadded :: 6.3
328
327
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.
328
+ The possibility to set a private service with the test service container
329
+ without declaring a public alias for it was introduced in Symfony 6.3.
331
330
332
331
.. _testing-databases :
333
332
You can’t perform that action at this time.
0 commit comments