You are here

public function oEmbedStream::url_stat in oEmbed 8

Support for stat().

Parameters

string $url: A string containing the url to get information about.

int $flags: A bit mask of STREAM_URL_STAT_LINK and STREAM_URL_STAT_QUIET.

Return value

array An array with file status, or FALSE in case of an error - see fstat() for a description of this array.

Overrides PhpStreamWrapperInterface::url_stat

File

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

Class

oEmbedStream
@file Create a oEmbed Stream Wrapper class.

Namespace

Drupal\oembed\StreamWrapper

Code

public function url_stat($url, $flags) {
  return $this
    ->stream_stat();
}