src/FrontendAsset.php
private static function loadContainer($class_settings, $config = [])
    {
        if (is_array($class_settings)) {
            $asset_name = array_shift($class_settings);
        } else {
            $asset_name = $class_settings;
            $class_settings = [];
        }

        $class_name = false;

        if ($asset_details = config('frontend-assets.'.$asset_name, false)) {
            $class_name = array_get($asset_details, 0, false);
        }

        if ($class_name !== false && !isset(self::$containers[$class_name]) && class_exists($class_name)) {
            self::$containers[$class_name] = new $class_name(...$class_settings);
        }

        if (!empty($config) && method_exists(self::$containers[$class_name], 'config')) {
            if (!is_array($config)) {
                $config = [$config];
            }
            self::$containers[$class_name]->config(...$config);
        }
    }
private static function loadContainer($class_settings, $config = [])
    {
        if (is_array($class_settings)) {
            $asset_name = array_shift($class_settings);
        } else {
            $asset_name = $class_settings;
            $class_settings = [];
        }

        $class_name = false;

        if ($asset_details = config('frontend-assets.'.$asset_name, false)) {
            $class_name = array_get($asset_details, 0, false);
        }

        if ($class_name !== false && !isset(self::$containers[$class_name]) && class_exists($class_name)) {
            self::$containers[$class_name] = new $class_name(...$class_settings);
        }

        if (!empty($config) && method_exists(self::$containers[$class_name], 'config')) {
            if (!is_array($config)) {
                $config = [$config];
            }
            self::$containers[$class_name]->config(...$config);
        }
    }
Load an assets container (it will load the individual files).

@param array $asset_settings

@return void