You are here

public function DrupalRemoteStreamWrapper::stream_close in Remote Stream Wrapper 7

Support for fclose().

Return value

TRUE if stream was successfully closed.

Overrides StreamWrapperInterface::stream_close

See also

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

File

./remote_stream_wrapper.inc, line 297

Class

DrupalRemoteStreamWrapper
Stream wrapper to support local files.

Code

public function stream_close() {
  $this->stream_pointer = 0;
  $this->stream_content = NULL;
  return TRUE;
}