| @@ 150-154 (lines=5) @@ | ||
| 147 | return false; |
|
| 148 | } |
|
| 149 | ||
| 150 | if (FileSystem::isWritable(static::$path)) { |
|
| 151 | foreach (glob(static::$path . $key . '*.cache') as $c) { |
|
| 152 | unlink($c); |
|
| 153 | } |
|
| 154 | } |
|
| 155 | } |
|
| 156 | ||
| 157 | public static function clearAll() |
|
| @@ 159-163 (lines=5) @@ | ||
| 156 | ||
| 157 | public static function clearAll() |
|
| 158 | { |
|
| 159 | if (FileSystem::isWritable(static::$path)) { |
|
| 160 | foreach (glob(static::$path . '*.cache') as $c) { |
|
| 161 | unlink($c); |
|
| 162 | } |
|
| 163 | } |
|
| 164 | } |
|
| 165 | } |
|
| 166 | ||