public function S3fsStreamWrapper::stream_close in S3 File System 7
Same name and namespace in other branches
- 7.2 S3fsStreamWrapper.inc \S3fsStreamWrapper::stream_close()
Support for fclose().
Clears the object buffer.
Return value
bool TRUE
Overrides StreamWrapperInterface::stream_close
See also
http://php.net/manual/en/streamwrapper.stream-close.php
File
- ./
S3fsStreamWrapper.inc, line 579 - 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->params['Key']}.");
$this->body = NULL;
$this->params = NULL;
return TRUE;
}