public function FileStorage::load

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

Overrides PhpStorageInterface::load

1 method overrides FileStorage::load()

File

drupal/core/lib/Drupal/Component/PhpStorage/FileStorage.php, line 45
Definition of Drupal\Component\PhpStorage\FileStorage.

Class

FileStorage
Stores the code as regular PHP files.

Namespace

Drupal\Component\PhpStorage

Code

public function load($name) {

  // The FALSE returned on failure is enough for the caller to handle this,
  // we do not want a warning too.
  return @(include_once $this
    ->getFullPath($name)) !== FALSE;
}