Revert "feature #30651 Allow user to set the project dir (tdutrion)"

This reverts commit aa12dd0bd7, reversing
changes made to 7d01aae41e.
This commit is contained in:
Fabien Potencier 2019-03-29 18:00:10 +01:00
parent c203379dd5
commit 2389d7c686

View File

@ -83,13 +83,12 @@ 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, string $projectDir = null)
public function __construct(string $environment, bool $debug)
{
$this->environment = $environment;
$this->debug = $debug;
$this->rootDir = $this->getRootDir(false);
$this->name = $this->getName(false);
$this->projectDir = $projectDir;
}
public function __clone()