SilverStripeInstaller::getInstallPath( ComposerPackagePackageInterface $package, string $frameworkType = '' )
Return the install path based on package type.
Description Description
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
Parameters Parameters
- $package
-
(Required)
- $frameworkType
-
(Optional)
Default value: ''
Return Return
(string)