Skip to content
Snippets Groups Projects
Commit f4140703 authored by jurgenhaas's avatar jurgenhaas
Browse files

Bring back missing method

parent 8fbdbc28
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,19 @@ class Handler {
$this->io = $io;
}
/**
* Retrieve a package from the current composer process.
*
* @param string $name
* Name of the package to get from the current composer installation.
*
* @return \Composer\Package\PackageInterface
* The package.
*/
protected function getPackage($name) {
return $this->composer->getRepositoryManager()->getLocalRepository()->findPackage($name, '*');
}
/**
* Post project create event to execute the scaffolding.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment