You are here

public function AmazonS3StreamWrapper::stream_close in AmazonS3 7

Support for fclose().

Clears the object buffer and returns TRUE

Return value

bool TRUE

Overrides StreamWrapperInterface::stream_close

See also

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

File

./AmazonS3StreamWrapper.inc, line 456
Drupal stream wrapper implementation for Amazon S3

Class

AmazonS3StreamWrapper
@file Drupal stream wrapper implementation for Amazon S3

Code

public function stream_close() {
  $this
    ->clearBuffer();
  return TRUE;
}