\Composer\DownloaderVcsCapableDownloaderInterface

VCS Capable Downloader interface.

Summary

Methods
Constants
getVcsReference()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getVcsReference()

getVcsReference(\Composer\Package\PackageInterface  $package, string  $path) : string|null

Gets the VCS Reference for the package at path

Parameters

\Composer\Package\PackageInterface $package

package directory

string $path

package directory

Returns

string|null —

reference or null