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

1
2
3
public function stream_flush() {
  return fflush($this->handle);
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.