ReadOnlyStream::stream_metadata

public ReadOnlyStream::stream_metadata($uri, $option, $value)

Does not change meta data as this is a read-only stream wrapper.

Overrides PhpStreamWrapperInterface::stream_metadata

File

core/lib/Drupal/Core/StreamWrapper/ReadOnlyStream.php, line 164

Class

ReadOnlyStream
Defines a read-only Drupal stream wrapper base class.

Namespace

Drupal\Core\StreamWrapper

Code

public function stream_metadata($uri, $option, $value) {
  trigger_error('stream_metadata() not supported for read-only stream wrappers', E_USER_WARNING);
  return FALSE;
}
doc_Drupal
2016-10-29 09:36:38
Comments
Leave a Comment

Please login to continue.