public function openDirectory($path, $options)
{
$resourceUriOrStream = $this->evaluateResourcePath($path);
if (!is_string($resourceUriOrStream)) {
return false;
}
$handle = $resourceUriOrStream !== false ? opendir($resourceUriOrStream) : false;
if ($handle !== false) {
$this->handle = $handle;
return true;
}
return false;
}