public function LocalStream::stream_flush in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/StreamWrapper/LocalStream.php \Drupal\Core\StreamWrapper\LocalStream::stream_flush()
- 10 core/lib/Drupal/Core/StreamWrapper/LocalStream.php \Drupal\Core\StreamWrapper\LocalStream::stream_flush()
Support for fflush().
Return value
bool TRUE if data was successfully stored (or there was no data to store).
Overrides PhpStreamWrapperInterface::stream_flush
See also
http://php.net/manual/streamwrapper.stream-flush.php
1 method overrides LocalStream::stream_flush()
- LocalReadOnlyStream::stream_flush in core/
lib/ Drupal/ Core/ StreamWrapper/ LocalReadOnlyStream.php - Support for fflush().
File
- core/
lib/ Drupal/ Core/ StreamWrapper/ LocalStream.php, line 258
Class
- LocalStream
- Defines a Drupal stream wrapper base class for local files.
Namespace
Drupal\Core\StreamWrapperCode
public function stream_flush() {
return fflush($this->handle);
}