| @@ 102-110 (lines=9) @@ | ||
| 99 | /** |
|
| 100 | * {@inheritdoc} |
|
| 101 | */ |
|
| 102 | public function delete($key) |
|
| 103 | { |
|
| 104 | $success = true; |
|
| 105 | foreach ($this->cache as $cache) { |
|
| 106 | $success = $success && $cache->delete($key); |
|
| 107 | } |
|
| 108 | ||
| 109 | return $success; |
|
| 110 | } |
|
| 111 | ||
| 112 | /** |
|
| 113 | * {@inheritdoc} |
|
| @@ 115-123 (lines=9) @@ | ||
| 112 | /** |
|
| 113 | * {@inheritdoc} |
|
| 114 | */ |
|
| 115 | public function flush() |
|
| 116 | { |
|
| 117 | $success = true; |
|
| 118 | foreach ($this->cache as $cache) { |
|
| 119 | $success = $success && $cache->flush(); |
|
| 120 | } |
|
| 121 | ||
| 122 | return $success; |
|
| 123 | } |
|
| 124 | ||
| 125 | /** |
|
| 126 | * Gets the remaining time to live for an item |
|