public static function createAssetOptions(array $config, $assetType)
    {
        $options = array();

        foreach ($config as $key => $value) {
            if (0 === strpos($key, $assetType.'-')) {
                $key = substr($key, \strlen($assetType) + 1);
                $options[$key] = $value;
            }
        }

        return $options;
    }
public static function createAssetOptions(array $config, $assetType)
    {
        $options = array();

        foreach ($config as $key => $value) {
            if (0 === strpos($key, $assetType.'-')) {
                $key = substr($key, \strlen($assetType) + 1);
                $options[$key] = $value;
            }
        }

        return $options;
    }
public static function createAssetOptions ( array $ config , $ assetType ) { $ options = array ( ) ; foreach ( $ config as $ key => $ value ) { if ( 0 === strpos ( $ key , $ assetType . '-' ) ) { $ key = substr ( $ key , \ strlen ( $ assetType ) + 1 ) ; $ options [ $ key ] = $ value ; } } return $ options ; }
Creates the asset options.

@param array  $config    The composer config section of asset options
@param string $assetType The asset type

@return array The asset registry options
Creates the asset options .