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