LEtudiant\Composer\Installer\Solver\SharedPackageInstallerSolver::isInstalled PHP Method

isInstalled() public method

public isInstalled ( Composer\Repository\InstalledRepositoryInterface $repo, Composer\Package\PackageInterface $package ) : boolean
$repo Composer\Repository\InstalledRepositoryInterface
$package Composer\Package\PackageInterface
return boolean
    public function isInstalled(InstalledRepositoryInterface $repo, PackageInterface $package)
    {
        if ($this->solver->isSharedPackage($package)) {
            return $this->symlinkInstaller->isInstalled($repo, $package);
        }
        return $this->defaultInstaller->isInstalled($repo, $package);
    }