function PhpStreamWrapperInterface::dir_closedir

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php \Drupal\Core\StreamWrapper\PhpStreamWrapperInterface::dir_closedir()
  2. 8.9.x core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php \Drupal\Core\StreamWrapper\PhpStreamWrapperInterface::dir_closedir()
  3. 10 core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php \Drupal\Core\StreamWrapper\PhpStreamWrapperInterface::dir_closedir()

Close directory handle.

This method is called in response to closedir(). Any resources which were locked, or allocated, during opening and use of the directory stream should be released.

Return value

bool Returns TRUE on success or FALSE on failure.

See also

closedir()

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

2 methods override PhpStreamWrapperInterface::dir_closedir()
DummyExternalReadOnlyWrapper::dir_closedir in core/modules/file/tests/file_test/src/StreamWrapper/DummyExternalReadOnlyWrapper.php
Close directory handle.
LocalStream::dir_closedir in core/lib/Drupal/Core/StreamWrapper/LocalStream.php
Close directory handle.

File

core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php, line 25

Class

PhpStreamWrapperInterface
Defines a generic PHP stream wrapper interface.

Namespace

Drupal\Core\StreamWrapper

Code

public function dir_closedir();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.