protected buildActivePackageRelativePath ( string $inactivePackagePath ) : string | ||
$inactivePackagePath | string | |
return | string |
protected function buildActivePackageRelativePath($inactivePackagePath)
{
$inactivePackagesBasePath = Files::getNormalizedPath(Files::concatenatePaths([$this->packagesBasePath, self::INACTIVE_PACKAGES_FOLDER]));
return Files::getNormalizedPath(str_replace($inactivePackagesBasePath, '', $inactivePackagePath));
}