Composer API
Interface

Composer\Downloader\VcsCapableDownloaderInterface

interface VcsCapableDownloaderInterface

VCS Capable Downloader interface.

Methods

string|null getVcsReference(PackageInterface $package, string $path)

Gets the VCS Reference for the package at path

Details

at line 31
public string|null getVcsReference(PackageInterface $package, string $path)

Gets the VCS Reference for the package at path

Parameters

PackageInterface $package package directory
string $path package directory

Return Value

string|null reference or null