public static function create($mapping = array())
    {
        $defaultMapping = array(
            'autoload'         => self::DEFAULT_INITIALIZER_NS . '\Autoload',
            'dependencies'     => self::DEFAULT_INITIALIZER_NS . '\Dependencies',
            'general-settings' => self::DEFAULT_INITIALIZER_NS . '\ThemeSettings',
            'customizer'       => self::DEFAULT_INITIALIZER_NS . '\Customizer',
            'image-sizes'      => self::DEFAULT_INITIALIZER_NS . '\ImageSizes',
            'widget-areas'     => self::DEFAULT_INITIALIZER_NS . '\WidgetAreas',
            'menu-locations'   => self::DEFAULT_INITIALIZER_NS . '\MenuLocations',
            'theme-supports'   => self::DEFAULT_INITIALIZER_NS . '\ThemeSupports',
            'assets'           => self::DEFAULT_INITIALIZER_NS . '\Assets',
            'templates'        => self::DEFAULT_INITIALIZER_NS . '\Templates'
        );

        $finalMapping = array_merge($defaultMapping, $mapping);

        return new Configuration($finalMapping);
    }
public static function create($mapping = array())
    {
        $defaultMapping = array(
            'autoload'         => self::DEFAULT_INITIALIZER_NS . '\Autoload',
            'dependencies'     => self::DEFAULT_INITIALIZER_NS . '\Dependencies',
            'general-settings' => self::DEFAULT_INITIALIZER_NS . '\ThemeSettings',
            'customizer'       => self::DEFAULT_INITIALIZER_NS . '\Customizer',
            'image-sizes'      => self::DEFAULT_INITIALIZER_NS . '\ImageSizes',
            'widget-areas'     => self::DEFAULT_INITIALIZER_NS . '\WidgetAreas',
            'menu-locations'   => self::DEFAULT_INITIALIZER_NS . '\MenuLocations',
            'theme-supports'   => self::DEFAULT_INITIALIZER_NS . '\ThemeSupports',
            'assets'           => self::DEFAULT_INITIALIZER_NS . '\Assets',
            'templates'        => self::DEFAULT_INITIALIZER_NS . '\Templates'
        );

        $finalMapping = array_merge($defaultMapping, $mapping);

        return new Configuration($finalMapping);
    }
public static function create ( $ mapping = array ( ) ) { $ defaultMapping = array ( 'autoload' => self :: DEFAULT_INITIALIZER_NS . '\Autoload' , 'dependencies' => self :: DEFAULT_INITIALIZER_NS . '\Dependencies' , 'general-settings' => self :: DEFAULT_INITIALIZER_NS . '\ThemeSettings' , 'customizer' => self :: DEFAULT_INITIALIZER_NS . '\Customizer' , 'image-sizes' => self :: DEFAULT_INITIALIZER_NS . '\ImageSizes' , 'widget-areas' => self :: DEFAULT_INITIALIZER_NS . '\WidgetAreas' , 'menu-locations' => self :: DEFAULT_INITIALIZER_NS . '\MenuLocations' , 'theme-supports' => self :: DEFAULT_INITIALIZER_NS . '\ThemeSupports' , 'assets' => self :: DEFAULT_INITIALIZER_NS . '\Assets' , 'templates' => self :: DEFAULT_INITIALIZER_NS . '\Templates' ) ; $ finalMapping = array_merge ( $ defaultMapping , $ mapping ) ; return new Configuration ( $ finalMapping ) ; }
Create the theme configuration. The object will be created and configuration files will be parsed.

@param array $mapping   The mapping between configuration files and classes. Some default values are provided and
the parameter will be merged with the default mappings.

@return Configuration The configuration object
Create the theme configuration . The object will be created and configuration files will be parsed .