Skip to content

Commit 0006353

Browse files
committed
Merge branch '5.2' into 5.x
* 5.2: Update introduction.rst Add warning about removed services
2 parents db10c57 + a7e4664 commit 0006353

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

create_framework/introduction.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Before You Start
6262

6363
Reading about how to create a framework is not enough. You will have to follow
6464
along and actually type all the examples included in this tutorial. For that,
65-
you need a recent version of PHP (5.5.9 or later is good enough), a web server
65+
you need a recent version of PHP (7.4 or later is good enough), a web server
6666
(like Apache, nginx or PHP's built-in web server), a good knowledge of PHP and
6767
an understanding of Object Oriented programming.
6868

testing.rst

+7
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,13 @@ container is a service that can be get via the normal container::
580580
// ...
581581
}
582582

583+
.. caution::
584+
585+
The special container ``test.service_container`` doesn't give access to the
586+
private services that have been removed (those who are not used by any
587+
other services). The solution is to declare those private services as public
588+
in the ``config/services_test.yaml`` file.
589+
583590
.. tip::
584591

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

0 commit comments

Comments
 (0)