public function LocalStream::stream_close in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/StreamWrapper/LocalStream.php \Drupal\Core\StreamWrapper\LocalStream::stream_close()
- 10 core/lib/Drupal/Core/StreamWrapper/LocalStream.php \Drupal\Core\StreamWrapper\LocalStream::stream_close()
Support for fclose().
Return value
bool TRUE if stream was successfully closed.
Overrides PhpStreamWrapperInterface::stream_close
See also
http://php.net/manual/streamwrapper.stream-close.php
File
- core/
lib/ Drupal/ Core/ StreamWrapper/ LocalStream.php, line 295
Class
- LocalStream
- Defines a Drupal stream wrapper base class for local files.
Namespace
Drupal\Core\StreamWrapperCode
public function stream_close() {
return fclose($this->handle);
}