function DrupalLocalStreamWrapper::stream_close

Support for fclose().

Return value

TRUE if stream was successfully closed.

Overrides StreamWrapperInterface::stream_close

See also

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

File

includes/stream_wrappers.inc, line 553

Class

DrupalLocalStreamWrapper
Drupal stream wrapper base class for local files.

Code

public function stream_close() {
    return fclose($this->handle);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.