Pyrech\ComposerChangelogs\Factory::createOutputter PHP Метод

createOutputter() публичный статический Метод

public static createOutputter ( array $gitlabHosts = [] ) : Outputter
$gitlabHosts array
Результат Outputter
    public static function createOutputter(array $gitlabHosts = [])
    {
        return new Outputter(self::createOperationHandlers(), self::createUrlGenerators($gitlabHosts));
    }

Usage Example

 /**
  * {@inheritdoc}
  */
 public function activate(Composer $composer, IOInterface $io)
 {
     $this->composer = $composer;
     $this->io = $io;
     $this->configLocator = new ConfigLocator($composer);
     $this->setupConfig();
     $this->autoloadNeededClasses();
     $this->outputter = Factory::createOutputter($this->config->getGitlabHosts());
 }
All Usage Examples Of Pyrech\ComposerChangelogs\Factory::createOutputter