You are here

public function SessionStreamWrapper::dir_closedir in Examples for Developers 8

Same name and namespace in other branches
  1. 3.x modules/stream_wrapper_example/src/StreamWrapper/SessionStreamWrapper.php \Drupal\stream_wrapper_example\StreamWrapper\SessionStreamWrapper::dir_closedir()

Return value

bool

Overrides PhpStreamWrapperInterface::dir_closedir

File

stream_wrapper_example/src/StreamWrapper/SessionStreamWrapper.php, line 868

Class

SessionStreamWrapper
Example stream wrapper class to handle session:// streams.

Namespace

Drupal\stream_wrapper_example\StreamWrapper

Code

public function dir_closedir() {

  // @codingStandardsIgnoreEnd
  $this->directoryPointer = 0;
  unset($this->directoryKeys);
  return TRUE;
}