code: public function rmdir($path, $options)
      {
          // "use" our function params so things don't complain
          array($options);
          self::restorePrev();
          $success = \rmdir($path);
          self::register();
          return $success;
      }
docs: Remove a directory
  
  @param string  $path    directory to remove
  @param integer $options bitwise mask of values
  
  @return boolean
  
  @see http://php.net/manual/en/streamwrapper.rmdir.php