[FrameworkBundle] Remove dead code
This commit is contained in:
parent
a488d555ff
commit
29b3e31382
@ -97,11 +97,6 @@ class FrameworkExtension extends Extension
|
||||
private $annotationsConfigEnabled = false;
|
||||
private $validatorConfigEnabled = false;
|
||||
|
||||
/**
|
||||
* @var string|null
|
||||
*/
|
||||
private $kernelRootHash;
|
||||
|
||||
/**
|
||||
* Responds to the app.config configuration parameter.
|
||||
*
|
||||
@ -1391,20 +1386,6 @@ class FrameworkExtension extends Extension
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a hash of the kernel root directory.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
private function getKernelRootHash(ContainerBuilder $container)
|
||||
{
|
||||
if (!$this->kernelRootHash) {
|
||||
$this->kernelRootHash = hash('sha256', $container->getParameter('kernel.root_dir'));
|
||||
}
|
||||
|
||||
return $this->kernelRootHash;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the base path for the XSD files.
|
||||
*
|
||||
|
Reference in New Issue
Block a user