You are here

public function LocalStream::stream_close in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/StreamWrapper/LocalStream.php \Drupal\Core\StreamWrapper\LocalStream::stream_close()

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

core/lib/Drupal/Core/StreamWrapper/LocalStream.php, line 300
Contains \Drupal\Core\StreamWrapper\LocalStream.

Class

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

Namespace

Drupal\Core\StreamWrapper

Code

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