diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php index 23cb76a75e..7fc2a3113e 100644 --- a/src/Symfony/Component/HttpKernel/Kernel.php +++ b/src/Symfony/Component/HttpKernel/Kernel.php @@ -83,12 +83,13 @@ abstract class Kernel implements KernelInterface, RebootableInterface, Terminabl const END_OF_MAINTENANCE = '01/2020'; const END_OF_LIFE = '07/2020'; - public function __construct(string $environment, bool $debug) + public function __construct(string $environment, bool $debug, string $projectDir = null) { $this->environment = $environment; $this->debug = $debug; $this->rootDir = $this->getRootDir(false); $this->name = $this->getName(false); + $this->projectDir = $projectDir; } public function __clone()