private static function getConfigBase(Composer $composer, $io = null)
    {
        $globalPackageConfig = self::getGlobalConfig($composer, 'composer', $io);
        $globalConfig = self::getGlobalConfig($composer, 'config', $io);
        $packageConfig = $composer->getPackage()->getConfig();
        $packageConfig = isset($packageConfig['foxy']) && \is_array($packageConfig['foxy'])
            ? $packageConfig['foxy']
            : array();

        return array_merge($globalPackageConfig, $globalConfig, $packageConfig);
    }
private static function getConfigBase(Composer $composer, $io = null)
    {
        $globalPackageConfig = self::getGlobalConfig($composer, 'composer', $io);
        $globalConfig = self::getGlobalConfig($composer, 'config', $io);
        $packageConfig = $composer->getPackage()->getConfig();
        $packageConfig = isset($packageConfig['foxy']) && \is_array($packageConfig['foxy'])
            ? $packageConfig['foxy']
            : array();

        return array_merge($globalPackageConfig, $globalConfig, $packageConfig);
    }
private static function getConfigBase ( Composer $ composer , $ io = null ) { $ globalPackageConfig = self :: getGlobalConfig ( $ composer , 'composer' , $ io ) ; $ globalConfig = self :: getGlobalConfig ( $ composer , 'config' , $ io ) ; $ packageConfig = $ composer -> getPackage ( ) -> getConfig ( ) ; $ packageConfig = isset ( $ packageConfig [ 'foxy' ] ) && \ is_array ( $ packageConfig [ 'foxy' ] ) ? $ packageConfig [ 'foxy' ] : array ( ) ; return array_merge ( $ globalPackageConfig , $ globalConfig , $ packageConfig ) ; }
Get the base of data.

@param Composer         $composer The composer
@param null|IOInterface $io       The composer input/output

@return array
Get the base of data .