FileStorage::exists

public function FileStorage::exists

public FileStorage::exists($name)

Checks whether the PHP code exists in storage.

Parameters

string $name: The virtual file name. Can be a relative path.

Return value

bool TRUE if the virtual file exists, FALSE otherwise.

Overrides PhpStorageInterface::exists

File

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

Class

登录查看完整内容