You are here

public function LocalStream::stream_close in System stream wrapper 8

Support for fclose().

Return value

bool TRUE if stream was successfully closed.

Overrides PhpStreamWrapperInterface::stream_close

See also

http://php.net/manual/streamwrapper.stream-close.php

File

src/StreamWrapper/LocalStream.php, line 236

Class

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

Namespace

Drupal\system_stream_wrapper\StreamWrapper

Code

public function stream_close() {
  return fclose($this->handle);
}