function FileStorage::deleteAll

Removes all files in this bin.

Overrides PhpStorageInterface::deleteAll

File

core/lib/Drupal/Component/PhpStorage/FileStorage.php, line 157

Class

FileStorage
Stores the code as regular PHP files.

Namespace

Drupal\Component\PhpStorage

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.