You are here

public function oEmbedStream::stream_read in oEmbed 8

Support for fread(), file_get_contents() etc.

Parameters

int $count: Maximum number of bytes to be read.

Return value

bool The string that was read, or FALSE in case of an error.

Overrides PhpStreamWrapperInterface::stream_read

File

src/StreamWrapper/oEmbedStream.php, line 161
Create a oEmbed Stream Wrapper class.

Class

oEmbedStream
@file Create a oEmbed Stream Wrapper class.

Namespace

Drupal\oembed\StreamWrapper

Code

public function stream_read($count) {
  return FALSE;
}