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

Breadcrumb

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

function PharArchiver::supports

@inheritDoc

Overrides ArchiverInterface::supports

File

vendor/composer/composer/src/Composer/Package/Archiver/PharArchiver.php, line 100

Class

PharArchiver
@author Till Klampaeckel <till@php.net> @author Nils Adermann <naderman@naderman.de> @author Matthieu Moquet <matthieu@moquet.net>

Namespace

Composer\Package\Archiver

Code

public function supports(string $format, ?string $sourceType) : bool {
    return isset(static::$formats[$format]);
}
RSS feed
Powered by Drupal