mirror of
https://github.com/symfony/recipes.git
synced 2026-09-20 19:46:52 +03:00
FrameworkBundle kernel should be compatible
This commit is contained in:
@@ -14,12 +14,12 @@ class Kernel extends BaseKernel
|
|||||||
|
|
||||||
const CONFIG_EXTS = '.{php,xml,yaml,yml}';
|
const CONFIG_EXTS = '.{php,xml,yaml,yml}';
|
||||||
|
|
||||||
public function getCacheDir(): string
|
public function getCacheDir()
|
||||||
{
|
{
|
||||||
return dirname(__DIR__).'/var/cache/'.$this->environment;
|
return dirname(__DIR__).'/var/cache/'.$this->environment;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getLogDir(): string
|
public function getLogDir()
|
||||||
{
|
{
|
||||||
return dirname(__DIR__).'/var/log';
|
return dirname(__DIR__).'/var/log';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user