src/ComposerPlugin.php
private static function getExtraKey($key, $fallback)
    {
        static $autosplitter = null;

        if (null === $autosplitter) {
            $autosplitter = isset(self::$extra[self::EXTRA_KEY])
                ? self::$extra[self::EXTRA_KEY]
                : array();
        }

        return isset($autosplitter[$key]) ? $autosplitter[$key] : $fallback;
    }
private static function getExtraKey($key, $fallback)
    {
        static $autosplitter = null;

        if (null === $autosplitter) {
            $autosplitter = isset(self::$extra[self::EXTRA_KEY])
                ? self::$extra[self::EXTRA_KEY]
                : array();
        }

        return isset($autosplitter[$key]) ? $autosplitter[$key] : $fallback;
    }
Get the value of a config key from the "Extra" section.

@param string $key      Key to look for.
@param string $fallback Fallback value to use if the key was not provided.

@return string