/** * Constructor. * * @param array $repoConfig * @param IOInterface $io * @param Config $config * @param EventDispatcher $eventDispatcher */ public function __construct(array $repoConfig, IOInterface $io, Config $config, EventDispatcher $eventDispatcher = null) { $this->url = isset($repoConfig['private-registry-url']) ? $repoConfig['private-registry-url'] : null; parent::__construct($repoConfig, $io, $config, $eventDispatcher); }