Barryvdh\Debugbar\JavascriptRenderer::dumpAssetsToString PHP Метод

dumpAssetsToString() публичный Метод

Return assets as a string
public dumpAssetsToString ( string $type ) : string
$type string 'js' or 'css'
Результат string
    public function dumpAssetsToString($type)
    {
        $files = $this->getAssets($type);
        $content = '';
        foreach ($files as $file) {
            $content .= file_get_contents($file) . "\n";
        }
        return $content;
    }