You are here

public function VideoRemoteStreamWrapper::stream_close in Video 8

Same name and namespace in other branches
  1. 8.2 src/StreamWrapper/VideoRemoteStreamWrapper.php \Drupal\video\StreamWrapper\VideoRemoteStreamWrapper::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

src/StreamWrapper/VideoRemoteStreamWrapper.php, line 245

Class

VideoRemoteStreamWrapper
Defines a video read only stream wrapper class.

Namespace

Drupal\video\StreamWrapper

Code

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