LocalStream::stream_flush

public 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

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\StreamWrapper

Code

public function stream_flush() {
  return fflush($this->handle);
}
doc_Drupal
2016-10-29 09:24:40
Comments
Leave a Comment

Please login to continue.