$locations
$locations :
getInstallPath(\Composer\Package\PackageInterface $package, string $frameworkType = '') : string
Return the install path based on package type.
Relies on built-in BaseInstaller behaviour with one exception: silverstripe/framework must be installed to 'sapphire' and not 'framework' if the version is <3.0.0
\Composer\Package\PackageInterface | $package | |
string | $frameworkType |