Implements Drupal\Component\PhpStorage\PhpStorageInterface::exists().
Overrides PhpStorageInterface::exists
File
- drupal/core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php, line 39
- Definition of Drupal\Component\PhpStorage\FileStorage.
Class
- FileReadOnlyStorage
- Reads code as regular PHP files, but won't write them.
Namespace
Drupal\Component\PhpStorage
Code
public function exists($name) {
return file_exists($this
->getFullPath($name));
}