You are here

public function LocalStream::stream_flush in System stream wrapper 8

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 src/StreamWrapper/LocalReadOnlyStream.php
Support for fflush().

File

src/StreamWrapper/LocalStream.php, line 199

Class

LocalStream
Defines a Drupal stream wrapper base class for local files.

Namespace

Drupal\system_stream_wrapper\StreamWrapper

Code

public function stream_flush() {
  return fflush($this->handle);
}