You are here

public function DummyExternalReadOnlyWrapper::stream_cast in Drupal 10

@inheritDoc

Overrides PhpStreamWrapperInterface::stream_cast

File

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

Class

DummyExternalReadOnlyWrapper
Helper class for testing the stream wrapper registry.

Namespace

Drupal\file_test\StreamWrapper

Code

public function stream_cast($cast_as) {
  return FALSE;
}