src/DebugBar/JavascriptRenderer.php
public function addAssets($cssFiles, $jsFiles, $basePath = null, $baseUrl = null)
    {
        $this->additionalAssets[] = array(
            'base_path' => $basePath,
            'base_url' => $baseUrl,
            'css' => (array) $cssFiles,
            'js' => (array) $jsFiles
        );
        return $this;
    }
public function addAssets($cssFiles, $jsFiles, $basePath = null, $baseUrl = null)
    {
        $this->additionalAssets[] = array(
            'base_path' => $basePath,
            'base_url' => $baseUrl,
            'css' => (array) $cssFiles,
            'js' => (array) $jsFiles
        );
        return $this;
    }
public function addAssets ( $ cssFiles , $ jsFiles , $ basePath = null , $ baseUrl = null ) { $ this -> additionalAssets [ ] = array ( 'base_path' => $ basePath , 'base_url' => $ baseUrl , 'css' => ( array ) $ cssFiles , 'js' => ( array ) $ jsFiles ) ; return $ this ; }
Add assets stored in files to render in the head

@param array $cssFiles An array of filenames
@param array $jsFiles  An array of filenames
@param string $basePath Base path of those files
@param string $baseUrl  Base url of those files
@return $this
Add assets stored in files to render in the head