src/Assets/Manager.php
public static function createFromConfig(array $config)
    {
        $manager = static::createEmptyFromConfig($config);

        $manager->addCollection(new CssCollection)
                ->addCollection(new JavascriptCollection);

        return $manager;
       
    }
public static function createFromConfig(array $config)
    {
        $manager = static::createEmptyFromConfig($config);

        $manager->addCollection(new CssCollection)
                ->addCollection(new JavascriptCollection);

        return $manager;
       
    }
public static function createFromConfig ( array $ config ) { $ manager = static :: createEmptyFromConfig ( $ config ) ; $ manager -> addCollection ( new CssCollection ) -> addCollection ( new JavascriptCollection ) ; return $ manager ; }
Creates and configure a manager instance via array options
@param array $config
@return \PHPLegends\Assets\Manager
Creates and configure a manager instance via array options