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

Breadcrumb

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

interface VcsCapableDownloaderInterface

VCS Capable Downloader interface.

@author Steve Buzonas <steve@fancyguy.com>

Hierarchy

  • interface \Composer\Downloader\VcsCapableDownloaderInterface

Expanded class hierarchy of VcsCapableDownloaderInterface

All classes that implement VcsCapableDownloaderInterface

1 file declares its use of VcsCapableDownloaderInterface
StatusCommand.php in vendor/composer/composer/src/Composer/Command/StatusCommand.php

File

vendor/composer/composer/src/Composer/Downloader/VcsCapableDownloaderInterface.php, line 22

Namespace

Composer\Downloader
View source
interface VcsCapableDownloaderInterface {
    
    /**
     * Gets the VCS Reference for the package at path
     *
     * @param  PackageInterface $package package instance
     * @param  string           $path    package directory
     * @return string|null      reference or null
     */
    public function getVcsReference(PackageInterface $package, string $path) : ?string;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
VcsCapableDownloaderInterface::getVcsReference public function Gets the VCS Reference for the package at path 2

API Navigation

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