Hal\MutaTesting\StreamWrapper\FileMutator::dir_opendir PHP Method

dir_opendir() public method

public dir_opendir ( $path, $options )
    public function dir_opendir($path, $options)
    {
        stream_wrapper_restore('file');
        $this->hwnd = opendir($path);
        stream_wrapper_unregister("file");
        stream_wrapper_register("file", get_class($this));
        return true;
    }