function DummyExternalReadOnlyWrapper::stream_stat

Same name and namespace in other branches
  1. 9 core/modules/file/tests/file_test/src/StreamWrapper/DummyExternalReadOnlyWrapper.php \Drupal\file_test\StreamWrapper\DummyExternalReadOnlyWrapper::stream_stat()
  2. 11.x core/modules/file/tests/file_test/src/StreamWrapper/DummyExternalReadOnlyWrapper.php \Drupal\file_test\StreamWrapper\DummyExternalReadOnlyWrapper::stream_stat()

Retrieve information about a file resource.

This method is called in response to fstat().

Return value

array|false See stat().

Overrides PhpStreamWrapperInterface::stream_stat

File

core/modules/file/tests/file_test/src/StreamWrapper/DummyExternalReadOnlyWrapper.php, line 131

Class

DummyExternalReadOnlyWrapper
Helper class for testing the stream wrapper registry.

Namespace

Drupal\file_test\StreamWrapper

Code

public function stream_stat() {
  return FALSE;
}

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