| Conditions | 3 |
| Paths | 3 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 12 |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | public function delete($tableName, $condition) { |
||
| 26 | $key = $this->getKey ( $tableName, $condition ); |
||
| 27 | if ($this->cache->exists ( $key )) { |
||
| 28 | if (isset ( $this->memoryCache [$key] )) { |
||
| 29 | unset ( $this->memoryCache [$key] ); |
||
| 30 | } |
||
| 31 | return $this->cache->remove ( $key ); |
||
| 32 | } |
||
| 33 | return false; |
||
| 34 | } |
||
| 36 |