From de62821bc075c324d882e30a0be6d1aa034cbdd2 Mon Sep 17 00:00:00 2001 From: Jan Rosier Date: Fri, 11 Jan 2019 15:41:40 +0100 Subject: [PATCH] Remove the no longer needed getCacheDir and getLogDir methods. Since Symfony v4.2 the methods of the parent class are the same. --- symfony/framework-bundle/4.2/src/Kernel.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/symfony/framework-bundle/4.2/src/Kernel.php b/symfony/framework-bundle/4.2/src/Kernel.php index 552eb0df..d507edfa 100644 --- a/symfony/framework-bundle/4.2/src/Kernel.php +++ b/symfony/framework-bundle/4.2/src/Kernel.php @@ -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';