You are here

public function S3fsStream::stream_close in S3 File System 8.2

Support for fclose().

Clears the object buffer.

Return value

bool Always returns TRUE.

Overrides PhpStreamWrapperInterface::stream_close

See also

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

File

src/StreamWrapper/S3fsStream.php, line 759

Class

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

Namespace

Drupal\s3fs\StreamWrapper

Code

public function stream_close() {
  $this
    ->_debug("stream_close() called for {$this->uri}.");
  $this->body = NULL;
  $this->params = NULL;
  return $this->_error_state;
}