private function shouldReturnCache() { if ($this->getCacheEnabled()) { if ($this->cache !== null) { return true; } } return false; }