You are here

public function FileStorage::deleteAll in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/Component/PhpStorage/FileStorage.php \Drupal\Component\PhpStorage\FileStorage::deleteAll()

Removes all files in this bin.

Overrides PhpStorageInterface::deleteAll

File

lib/Drupal/Component/PhpStorage/FileStorage.php, line 212
Contains \Drupal\Component\PhpStorage\FileStorage.

Class

FileStorage
Stores the code as regular PHP files.

Namespace

Drupal\Component\PhpStorage

Code

public function deleteAll() {
  return $this
    ->unlink($this->directory);
}