code: public function getInstallPath(PackageInterface $package)
      {
          $installer = $this->getInstaller($package->getType());
  
          return $installer->getInstallPath($package);
      }
docs: Returns the installation path of a package
  
  @param  PackageInterface $package
  @return string           path