public static function createRepositoryConfig(AssetRepositoryManager $arm, VcsPackageFilter $filter, Config $config, $assetType)
    {
        return array(
            'asset-repository-manager' => $arm,
            'vcs-package-filter' => $filter,
            'asset-options' => static::createAssetOptions($config->getArray('registry-options'), $assetType),
            'vcs-driver-options' => $config->getArray('vcs-driver-options'),
        );
    }