@api
Overrides KernelInterface::getRootDir
public function getRootDir() {
if (null === $this->rootDir) {
$r = new \ReflectionObject($this);
$this->rootDir = str_replace('\\', '/', dirname($r
->getFileName()));
}
return $this->rootDir;
}