Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ZipArchiver.php

function ZipArchiver::supports

@inheritDoc

Overrides ArchiverInterface::supports

File

vendor/composer/composer/src/Composer/Package/Archiver/ZipArchiver.php, line 86

Class

ZipArchiver
@author Jan Prieser <jan@prieser.net>

Namespace

Composer\Package\Archiver

Code

public function supports(string $format, ?string $sourceType) : bool {
    return isset(static::$formats[$format]) && $this->compressionAvailable();
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal