From 8e3b473dd1f77c3a374adc3f2fc922c2723eca5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Perrin?= Date: Wed, 4 Apr 2018 11:39:05 +0200 Subject: [PATCH] Add kernel to list of excluded registered services --- service_container.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service_container.rst b/service_container.rst index a75932faf39..149481792eb 100644 --- a/service_container.rst +++ b/service_container.rst @@ -148,7 +148,7 @@ each time you ask for it. # this creates a service per class whose id is the fully-qualified class name App\: resource: '../src/*' - exclude: '../src/{Entity,Migrations,Tests}' + exclude: '../src/{Entity,Migrations,Tests,Kernel.php}' # ...