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

Breadcrumb

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

function ArchiveManager::getPackageFilename

Generate a distinct filename for a particular version of a package.

Parameters

CompletePackageInterface $package The package to get a name for:

Return value

string A filename without an extension

File

vendor/composer/composer/src/Composer/Package/Archiver/ArchiveManager.php, line 130

Class

ArchiveManager
@author Matthieu Moquet <matthieu@moquet.net> @author Till Klampaeckel <till@php.net>

Namespace

Composer\Package\Archiver

Code

public function getPackageFilename(CompletePackageInterface $package) : string {
    return $this->getPackageFilenameFromParts($this->getPackageFilenameParts($package));
}

API Navigation

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