src/Tomahawk/Asset/AssetContainer.php
protected function add($type, $name, $source, $dependencies, $attributes)
    {
        $dependencies = (array) $dependencies;

        $attributes = (array) $attributes;

        $this->assets[$type][$name] = compact('source', 'dependencies', 'attributes');

        return $this;
    }
protected function add($type, $name, $source, $dependencies, $attributes)
    {
        $dependencies = (array) $dependencies;

        $attributes = (array) $attributes;

        $this->assets[$type][$name] = compact('source', 'dependencies', 'attributes');

        return $this;
    }
Add an asset to the array of registered assets.

@param  string  $type
@param  string  $name
@param  string  $source
@param  array   $dependencies
@param  array   $attributes
@return $this