code: public function extract($file, $path)
      {
          // Each extract calls its alternative if not available or fails
          if (self::$isWindows) {
              $this->extractWithZipArchive($file, $path, false);
          } else {
              $this->extractWithSystemUnzip($file, $path, false);
          }
      }
docs: extract $file to $path
  
  @param string $file File to extract
  @param string $path Path where to extract file