You are here

public function LocalStream::stream_stat in System stream wrapper 8

Support for fstat().

Return value

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

Overrides PhpStreamWrapperInterface::stream_stat

See also

http://php.net/manual/streamwrapper.stream-stat.php

File

src/StreamWrapper/LocalStream.php, line 224

Class

LocalStream
Defines a Drupal stream wrapper base class for local files.

Namespace

Drupal\system_stream_wrapper\StreamWrapper

Code

public function stream_stat() {
  return fstat($this->handle);
}