src/View/Helper/DocumentHelper.php
public function assets($type = 'css')
    {
        $output = [];
        $assets = $this->Assets->getAssets($type);
        foreach ($assets as $asset) {
            $output[] = $asset['output'];
        }

        return implode($this->eol, $output);
    }
public function assets($type = 'css')
    {
        $output = [];
        $assets = $this->Assets->getAssets($type);
        foreach ($assets as $asset) {
            $output[] = $asset['output'];
        }

        return implode($this->eol, $output);
    }
public function assets ( $ type = 'css' ) { $ output = [ ] ; $ assets = $ this -> Assets -> getAssets ( $ type ) ; foreach ( $ assets as $ asset ) { $ output [ ] = $ asset [ 'output' ] ; } return implode ( $ this -> eol , $ output ) ; }
Get assets fot layout render.

@param   string $type
@return  string
Get assets fot layout render .