You are here

public function S3fsStreamWrapper::stream_close in S3 File System 7.2

Same name and namespace in other branches
  1. 7 S3fsStreamWrapper.inc \S3fsStreamWrapper::stream_close()

Support for fclose().

Clears the object buffer.

Return value

bool Always returns TRUE.

Overrides StreamWrapperInterface::stream_close

See also

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

File

./S3fsStreamWrapper.inc, line 650
Drupal stream wrapper implementation for S3 File System.

Class

S3fsStreamWrapper
The stream wrapper class.

Code

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