/** * Test if a cache is available for the given id and (if yes) return it (false else) * * @param string $id cache id * @param boolean $doNotTestCacheValidity if set to true, the cache validity won't be tested * @param boolean $doNotUnserialize do not serialize (even if automaticSerialization is true) => for internal use * @return mixed cached datas (or false) */ public function get($id, $doNotTestCacheValidity = false, $doNotUnserialize = false) { if (!$doNotTestCacheValidity) { if ($this->test($id)) { return parent::get($id, true, $doNotUnserialize); } return false; } return parent::get($id, true, $doNotUnserialize); }