From be682f7d188560d021daa9c64975f8a14c3afa39 Mon Sep 17 00:00:00 2001 From: Mikhail Shamin Date: Wed, 22 Jul 2015 11:20:20 +0700 Subject: [PATCH] Change getViewCache method visibility to private --- Extractor/CachingApiDocExtractor.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Extractor/CachingApiDocExtractor.php b/Extractor/CachingApiDocExtractor.php index d3ecae2..eb359d2 100644 --- a/Extractor/CachingApiDocExtractor.php +++ b/Extractor/CachingApiDocExtractor.php @@ -27,20 +27,15 @@ use Symfony\Component\Routing\RouterInterface; */ class CachingApiDocExtractor extends ApiDocExtractor { - /** - * @var \Symfony\Component\Config\ConfigCache - */ - protected $cache; - /** * @var string */ - protected $cacheFile; + private $cacheFile; /** * @var bool */ - protected $debug; + private $debug; /** * @param ContainerInterface $container @@ -65,6 +60,7 @@ class CachingApiDocExtractor extends ApiDocExtractor $debug = false ) { parent::__construct($container, $router, $reader, $commentExtractor, $controllerNameParser, $handlers, $annotationsProviders); + $this->cacheFile = $cacheFile; $this->debug = $debug; } @@ -106,7 +102,7 @@ class CachingApiDocExtractor extends ApiDocExtractor * @param string $view * @return ConfigCache */ - protected function getViewCache($view) + private function getViewCache($view) { return new ConfigCache($this->cacheFile.'.'.$view, $this->debug); }