public function MTimeProtectedFileStorage::exists

Implements Drupal\Component\PhpStorage\PhpStorageInterface::exists().

Overrides FileStorage::exists

File

drupal/core/lib/Drupal/Component/PhpStorage/MTimeProtectedFileStorage.php, line 52
Definition of Drupal\Component\PhpStorage\MTimeProtectedFileStorage.

Class

MTimeProtectedFileStorage
Stores PHP code in files with securely hashed names.

Namespace

Drupal\Component\PhpStorage

Code

public function exists($name) {
  return $this
    ->checkFile($name) !== FALSE;
}