[FrameworkBundle] Handle project dir in cache:clear command
This commit is contained in:
parent
4a766693a8
commit
fadffad2aa
@ -201,6 +201,7 @@ EOF
|
||||
{
|
||||
$cacheDir = var_export($warmupDir, true);
|
||||
$rootDir = var_export(realpath($parent->getRootDir()), true);
|
||||
$projectDir = var_export(realpath($parent->getProjectDir()), true);
|
||||
$logDir = var_export(realpath($parent->getLogDir()), true);
|
||||
// the temp kernel class name must have the same length than the real one
|
||||
// to avoid the many problems in serialized resources files
|
||||
@ -224,6 +225,11 @@ namespace $namespace
|
||||
return $rootDir;
|
||||
}
|
||||
|
||||
public function getProjectDir()
|
||||
{
|
||||
return $projectDir;
|
||||
}
|
||||
|
||||
public function getLogDir()
|
||||
{
|
||||
return $logDir;
|
||||
|
Reference in New Issue
Block a user