public function CacheItemBackend::delete in Flysystem 8
Same name and namespace in other branches
- 3.x src/Flysystem/Adapter/CacheItemBackend.php \Drupal\flysystem\Flysystem\Adapter\CacheItemBackend::delete()
- 2.0.x src/Flysystem/Adapter/CacheItemBackend.php \Drupal\flysystem\Flysystem\Adapter\CacheItemBackend::delete()
- 3.0.x src/Flysystem/Adapter/CacheItemBackend.php \Drupal\flysystem\Flysystem\Adapter\CacheItemBackend::delete()
Deletes an item by the path.
Parameters
string $path: The path of the item to delete.
File
- src/
Flysystem/ Adapter/ CacheItemBackend.php, line 96
Class
- CacheItemBackend
- Storage backend for cache items.
Namespace
Drupal\flysystem\Flysystem\AdapterCode
public function delete($path) {
$this
->deleteMultiple([
$path,
]);
}