You are here

public function VideoRemoteStreamWrapper::dir_closedir in Video 8.2

Same name and namespace in other branches
  1. 8 src/StreamWrapper/VideoRemoteStreamWrapper.php \Drupal\video\StreamWrapper\VideoRemoteStreamWrapper::dir_closedir()

Support for closedir().

Return value

bool TRUE on success.

Overrides PhpStreamWrapperInterface::dir_closedir

See also

http://php.net/manual/streamwrapper.dir-closedir.php

File

src/StreamWrapper/VideoRemoteStreamWrapper.php, line 175

Class

VideoRemoteStreamWrapper
Defines a video read only stream wrapper class.

Namespace

Drupal\video\StreamWrapper

Code

public function dir_closedir() {
  closedir($this->handle);

  // We do not really have a way to signal a failure as closedir() does not
  // have a return value.
  return TRUE;
}