private function installPath($package) {
    if (isset($this->paths['package'][$package['package']]['path'])){

      return $this->paths['package'][$package['package']]['path'];
    } elseif (isset($this->paths['vendor'][$package['vendor']]['path'])){

      return $this->paths['vendor'][$package['vendor']]['path'];
    } elseif (isset($this->paths['type'][$package['type']]['path'])){

      return $this->paths['type'][$package['type']]['path'];
    } else {
      return false;
    }
  }
private function installPath($package) {
    if (isset($this->paths['package'][$package['package']]['path'])){

      return $this->paths['package'][$package['package']]['path'];
    } elseif (isset($this->paths['vendor'][$package['vendor']]['path'])){

      return $this->paths['vendor'][$package['vendor']]['path'];
    } elseif (isset($this->paths['type'][$package['type']]['path'])){

      return $this->paths['type'][$package['type']]['path'];
    } else {
      return false;
    }
  }
private function installPath ( $ package ) { if ( isset ( $ this -> paths [ 'package' ] [ $ package [ 'package' ] ] [ 'path' ] ) ) { return $ this -> paths [ 'package' ] [ $ package [ 'package' ] ] [ 'path' ] ; } elseif ( isset ( $ this -> paths [ 'vendor' ] [ $ package [ 'vendor' ] ] [ 'path' ] ) ) { return $ this -> paths [ 'vendor' ] [ $ package [ 'vendor' ] ] [ 'path' ] ; } elseif ( isset ( $ this -> paths [ 'type' ] [ $ package [ 'type' ] ] [ 'path' ] ) ) { return $ this -> paths [ 'type' ] [ $ package [ 'type' ] ] [ 'path' ] ; } else { return false ; } }
If dropin path for package is defined use it and return relative installation path
@param Array $package - Associative array containing all supported types
If dropin path for package is defined use it and return relative installation path