You are here

public function ResourceStreamWrapper::stream_close in D7 Media 6

Support for fclose().

Return value

TRUE if stream was successfully closed.

Overrides StreamWrapperInterface::stream_close

File

resource/ResourceStreamWrapper.inc, line 208

Class

ResourceStreamWrapper
A base class for Resource Stream Wrappers.

Code

public function stream_close() {
  resource_debug("streamclose: {$this->handle}");
  return fclose($this->handle);
}