You are here

public function PharStreamWrapper::dir_opendir in Drupal 7

Parameters

string $path:

int $options:

Return value

bool

File

misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php, line 60

Class

PharStreamWrapper

Namespace

TYPO3\PharStreamWrapper

Code

public function dir_opendir($path, $options) {
  $this
    ->assert($path, Behavior::COMMAND_DIR_OPENDIR);
  $this->internalResource = $this
    ->invokeInternalStreamWrapper('opendir', $path, $this->context);
  return is_resource($this->internalResource);
}