public function addComposerPackageFromDirectory(Dir $dir) {
    $package = $this->getComposerPackageReader()->fromDirectory($dir);
    
    $this->addPackage($package);
    
    return $package;
  }
public function addComposerPackageFromDirectory(Dir $dir) {
    $package = $this->getComposerPackageReader()->fromDirectory($dir);
    
    $this->addPackage($package);
    
    return $package;
  }
public function addComposerPackageFromDirectory ( Dir $ dir ) { $ package = $ this -> getComposerPackageReader ( ) -> fromDirectory ( $ dir ) ; $ this -> addPackage ( $ package ) ; return $ package ; }
Adds a composer package from a directory
Adds a composer package from a directory