/**
  * {@inheritdoc}
  */
 public function __construct(array $repoConfig, IOInterface $io, Config $config, EventDispatcher $dispatcher = null, array $drivers = null)
 {
     $drivers = array('git' => 'Drupal\\ParseComposer\\GitDriver');
     $repoConfig['type'] = 'git';
     parent::__construct($repoConfig, $io, $config, $dispatcher, $drivers);
     $parts = preg_split('{[/:]}', $this->url);
     $last = end($parts);
     $this->repoConfig['drupalProjectName'] = current(explode('.', $last));
 }
 /**
  * Initialize repository
  *
  * @param array $repoConfig
  * @param IOInterface $io
  * @param Config $config
  * @param EventDispatcher $dispatcher
  * @param array $drivers
  */
 public function __construct(array $repoConfig, IOInterface $io, Config $config, EventDispatcher $dispatcher = null, array $drivers = null)
 {
     $drivers[self::TYPE_VCS] = 'Composer\\Repository\\Vcs\\VcsDriver';
     $drivers[self::TYPE_GIT] = 'Composer\\Repository\\Vcs\\GitDriver';
     $drivers[self::TYPE_GITLAB] = 'Composer\\Repository\\Vcs\\GitLabDriver';
     $drivers[self::TYPE_GITHUB] = 'Composer\\Repository\\Vcs\\GitHubDriver';
     $drivers[self::TYPE_GIT_BITBACKET] = 'Composer\\Repository\\Vcs\\GitBitbucketDriver';
     parent::__construct($repoConfig, $io, $config, $dispatcher, $drivers);
 }
 /**
  * Constructor.
  *
  * @param array           $repoConfig
  * @param IOInterface     $io
  * @param Config          $config
  * @param EventDispatcher $dispatcher
  * @param array           $drivers
  */
 public function __construct(array $repoConfig, IOInterface $io, Config $config, EventDispatcher $dispatcher = null, array $drivers = null)
 {
     $drivers = $drivers ?: Assets::getVcsDrivers();
     $assetType = substr($repoConfig['type'], 0, strpos($repoConfig['type'], '-'));
     $assetType = Assets::createType($assetType);
     $repoConfig['asset-type'] = $assetType->getName();
     $repoConfig['filename'] = $assetType->getFilename();
     $this->assetType = $assetType;
     $this->dispatcher = $dispatcher;
     $this->filter = isset($repoConfig['vcs-package-filter']) && $repoConfig['vcs-package-filter'] instanceof VcsPackageFilter ? $repoConfig['vcs-package-filter'] : null;
     parent::__construct($repoConfig, $io, $config, $dispatcher, $drivers);
 }
 /**
  * @param array $repoConfig
  * @param IOInterface $io
  * @param Config $config
  * @param EventDispatcher $dispatcher
  * @param array $drivers
  */
 public function __construct(array $repoConfig, IOInterface $io, Config $config, EventDispatcher $dispatcher = null, array $drivers = null)
 {
     parent::__construct($repoConfig, $io, $config, $dispatcher, $drivers);
     $this->drivers['t3git'] = 'Helhum\\T3Satis\\Composer\\Repository\\Vcs\\Typo3GitDriver';
 }
 /**
  * Initialize GITLab downloader
  *
  * @param array $repoConfig
  * @param IOInterface $io
  * @param Config $config
  * @param EventDispatcher $dispatcher
  * @param array $drivers
  */
 public function __construct(array $repoConfig, IOInterface $io, Config $config, EventDispatcher $dispatcher = null, array $drivers = null)
 {
     $drivers[self::TYPE] = 'AndKirby\\Composer\\MultiRepo\\Repository\\Vcs\\GitLabDriver';
     parent::__construct($repoConfig, $io, $config, $dispatcher, $drivers);
 }
 public function __construct(array $repoConfig, IOInterface $io, Config $config, EventDispatcher $dispatcher = null, array $drivers = null)
 {
     $drivers = $drivers ?: array('svn-export' => 'Composer\\Repository\\Vcs\\SvnDriver');
     parent::__construct($repoConfig, $io, $config, $dispatcher, $drivers);
 }