예제 #1
0
 function offsetExists($name)
 {
     if (parent::offsetExists($name) || $this->filter->match($name)) {
         return true;
     }
     return false;
 }
예제 #2
0
파일: Cache.php 프로젝트: Kinetical/Kinesis
 function offsetExists($offset)
 {
     if (parent::offsetExists($offset) === true) {
         return true;
     }
     if ($this->Parameters->exists('hash')) {
         $offset = $this->hash($offset);
     }
     return $this->has($offset);
 }