public function LocalReadOnlyStream::stream_flush
public LocalReadOnlyStream::stream_flush()
Support for fflush().
Nothing will be output to the file, as this is a read-only stream wrapper. However as stream_flush is called during stream_close we should not trigger an error.
Return value
bool FALSE, as no data will be stored.
Overrides LocalStream::stream_flush
See also
http://php.net/manual/streamwrapper.stream-flush.php
File
- core/lib/Drupal/Core/StreamWrapper/LocalReadOnlyStream.php, line 128
Class
- LocalReadOnlyStream
- Defines a read-only Drupal stream wrapper base class for local files.
Namespace
Drupal\Core\StreamWrapperCode
public function stream_flush() { return FALSE; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!StreamWrapper!LocalReadOnlyStream.php/function/LocalReadOnlyStream::stream_flush/8.1.x