You are here

public function S3fsStream::url_stat in S3 File System 8.3

Same name and namespace in other branches
  1. 8.2 src/StreamWrapper/S3fsStream.php \Drupal\s3fs\StreamWrapper\S3fsStream::url_stat()
  2. 4.0.x src/StreamWrapper/S3fsStream.php \Drupal\s3fs\StreamWrapper\S3fsStream::url_stat()

Return value

array

Overrides PhpStreamWrapperInterface::url_stat

File

src/StreamWrapper/S3fsStream.php, line 1061

Class

S3fsStream
Defines a Drupal s3 (s3://) stream wrapper class.

Namespace

Drupal\s3fs\StreamWrapper

Code

public function url_stat($uri, $flags) {

  // phpcs:enable
  $this
    ->setUri($uri);
  return $this
    ->stat($uri);
}