From 114bc14c21869e5e0a08e60f4930527330143126 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Fri, 13 Apr 2012 09:04:04 +0200 Subject: [PATCH] [FrameworkBundle] fixed name collision --- src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php b/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php index 395ec0ae31..fa09602830 100644 --- a/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php +++ b/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php @@ -39,7 +39,7 @@ abstract class HttpCache extends BaseHttpCache $this->kernel = $kernel; $this->cacheDir = $cacheDir; - parent::__construct($kernel, $this->getStore(), $this->getEsi(), array_merge(array('debug' => $kernel->isDebug()), $this->getOptions())); + parent::__construct($kernel, $this->createStore(), $this->createEsi(), array_merge(array('debug' => $kernel->isDebug()), $this->getOptions())); } /** @@ -70,12 +70,12 @@ abstract class HttpCache extends BaseHttpCache return array(); } - protected function getEsi() + protected function createEsi() { return new Esi(); } - protected function getStore() + protected function createStore() { return new Store($this->cacheDir ?: $this->kernel->getCacheDir().'/http_cache'); }