mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
Remove the no longer needed getCacheDir and getLogDir methods.
Since Symfony v4.2 the methods of the parent class are the same.
This commit is contained in:
@@ -15,16 +15,6 @@ class Kernel extends BaseKernel
|
||||
|
||||
const CONFIG_EXTS = '.{php,xml,yaml,yml}';
|
||||
|
||||
public function getCacheDir()
|
||||
{
|
||||
return $this->getProjectDir().'/var/cache/'.$this->environment;
|
||||
}
|
||||
|
||||
public function getLogDir()
|
||||
{
|
||||
return $this->getProjectDir().'/var/log';
|
||||
}
|
||||
|
||||
public function registerBundles()
|
||||
{
|
||||
$contents = require $this->getProjectDir().'/config/bundles.php';
|
||||
|
||||
Reference in New Issue
Block a user