protected function format(array $bundles)
    {
        // @todo remove
        foreach ($bundles as $bundle) {
            array_walk($bundle->css, function (&$file, $key, $userData) {
                $file = Html::a($file, $userData->baseUrl . '/' . $file, ['target' => '_blank']);
            }, $bundle);

            array_walk($bundle->js, function (&$file, $key, $userData) {
                $file = Html::a($file, $userData->baseUrl . '/' . $file, ['target' => '_blank']);
            }, $bundle);

            array_walk($bundle->depends, function (&$depend) {
                $depend = Html::a($depend, '#' . $depend);
            });

            $this->formatOptions($bundle->publishOptions);
            $this->formatOptions($bundle->jsOptions);
            $this->formatOptions($bundle->cssOptions);
        }

        return $bundles;
    }
protected function format(array $bundles)
    {
        // @todo remove
        foreach ($bundles as $bundle) {
            array_walk($bundle->css, function (&$file, $key, $userData) {
                $file = Html::a($file, $userData->baseUrl . '/' . $file, ['target' => '_blank']);
            }, $bundle);

            array_walk($bundle->js, function (&$file, $key, $userData) {
                $file = Html::a($file, $userData->baseUrl . '/' . $file, ['target' => '_blank']);
            }, $bundle);

            array_walk($bundle->depends, function (&$depend) {
                $depend = Html::a($depend, '#' . $depend);
            });

            $this->formatOptions($bundle->publishOptions);
            $this->formatOptions($bundle->jsOptions);
            $this->formatOptions($bundle->cssOptions);
        }

        return $bundles;
    }
protected function format ( array $ bundles ) { // @todo remove foreach ( $ bundles as $ bundle ) { array_walk ( $ bundle -> css , function ( & $ file , $ key , $ userData ) { $ file = Html :: a ( $ file , $ userData -> baseUrl . '/' . $ file , [ 'target' => '_blank' ] ) ; } , $ bundle ) ; array_walk ( $ bundle -> js , function ( & $ file , $ key , $ userData ) { $ file = Html :: a ( $ file , $ userData -> baseUrl . '/' . $ file , [ 'target' => '_blank' ] ) ; } , $ bundle ) ; array_walk ( $ bundle -> depends , function ( & $ depend ) { $ depend = Html :: a ( $ depend , '#' . $ depend ) ; } ) ; $ this -> formatOptions ( $ bundle -> publishOptions ) ; $ this -> formatOptions ( $ bundle -> jsOptions ) ; $ this -> formatOptions ( $ bundle -> cssOptions ) ; } return $ bundles ; }
Additional formatting for view.

@param AssetBundle[] $bundles Array of bundles to formatting.

@return AssetBundle[]
Additional formatting for view .