framework/RedKiteCms/Rendering/TemplateAssetsManager/TemplateAssetsManager.php
public function add(array $assets)
    {
        foreach ($assets as $type => $asset) {
            if ($asset instanceof Plugin) {
                $this->parse($asset);

                continue;
            }

            $this->assets[$type] = array_merge($this->assets[$type], $asset);
        }
    }
public function add(array $assets)
    {
        foreach ($assets as $type => $asset) {
            if ($asset instanceof Plugin) {
                $this->parse($asset);

                continue;
            }

            $this->assets[$type] = array_merge($this->assets[$type], $asset);
        }
    }
Add assets to the collection

@param array $assets