コード例 #1
0
ファイル: FactoryTest.php プロジェクト: aaleksu/bolt_cm
 public function testSSLDowngrade()
 {
     $app = $this->getApp();
     $factory = new Factory($app, array('basedir' => PHPUNIT_WEBROOT . '/extensions'));
     $factory->downgradeSsl = true;
     $composer = $factory->getComposer();
     $repos = $composer->getRepositoryManager()->getRepositories();
 }
コード例 #2
0
ファイル: PackageManager.php プロジェクト: aleksabp/bolt
 /**
  * Return the output from the last IO.
  *
  * @return string
  */
 public function getOutput()
 {
     return $this->factory->getIO()->getOutput();
 }