function PhpStreamWrapperInterface::stream_stat

Same name in other branches
  1. 9 core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php \Drupal\Core\StreamWrapper\PhpStreamWrapperInterface::stream_stat()
  2. 8.9.x core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php \Drupal\Core\StreamWrapper\PhpStreamWrapperInterface::stream_stat()
  3. 11.x core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php \Drupal\Core\StreamWrapper\PhpStreamWrapperInterface::stream_stat()

Retrieve information about a file resource.

This method is called in response to fstat().

Return value

array|false See stat().

See also

stat()

PhpStreamWrapperInterface::url_stat()

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

2 methods override PhpStreamWrapperInterface::stream_stat()
DummyExternalReadOnlyWrapper::stream_stat in core/modules/file/tests/file_test/src/StreamWrapper/DummyExternalReadOnlyWrapper.php
Retrieve information about a file resource.
LocalStream::stream_stat in core/lib/Drupal/Core/StreamWrapper/LocalStream.php
Retrieve information about a file resource.

File

core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php, line 421

Class

PhpStreamWrapperInterface
Defines a generic PHP stream wrapper interface.

Namespace

Drupal\Core\StreamWrapper

Code

public function stream_stat();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.