LEtudiant\Composer\Installer\SharedPackageInstaller::getSymlinkSourcePath PHP 메소드

getSymlinkSourcePath() 보호된 메소드

protected getSymlinkSourcePath ( Composer\Package\PackageInterface $package ) : string
$package Composer\Package\PackageInterface
리턴 string
    protected function getSymlinkSourcePath(PackageInterface $package)
    {
        if (null != $this->config->getSymlinkBasePath()) {
            $targetDir = $package->getTargetDir();
            $sourcePath = $this->config->getSymlinkBasePath() . '/' . $package->getPrettyName() . '/' . $package->getPrettyVersion() . ($targetDir ? '/' . $targetDir : '');
        } else {
            $sourcePath = $this->getInstallPath($package);
        }
        return $sourcePath;
    }