コード例 #1
0
 /**
  * Checkout the given tag for this library
  *
  * @param OutputInterface $output
  * @param Library $library
  * @param Version $version
  */
 protected function checkoutLibrary(OutputInterface $output, Library $library, Version $version)
 {
     $libraryName = $library->getName();
     $tagName = $version->getValue();
     $this->log($output, "Checking out library <info>{$libraryName}</info> at existing tag <info>{$tagName}</info>");
     $library->resetToTag($output, $version);
 }