public function printScript()
    {
        foreach ($this->scripts as $key => $options) {
            $src = (is_string($options['src'])) ? $options['src'] : $this->getScriptLink($key);
            if ($options['with_version']) {
                $src = call_user_func_array($this->assetInsertMethod, [$src, $this->assetVersion]);
            }
            echo "<script type='text/javascript' src='$src'></script>\n";
        }
        $this->printInlineScript();
    }
public function printScript()
    {
        foreach ($this->scripts as $key => $options) {
            $src = (is_string($options['src'])) ? $options['src'] : $this->getScriptLink($key);
            if ($options['with_version']) {
                $src = call_user_func_array($this->assetInsertMethod, [$src, $this->assetVersion]);
            }
            echo "<script type='text/javascript' src='$src'></script>\n";
        }
        $this->printInlineScript();
    }
public function printScript ( ) { foreach ( $ this -> scripts as $ key => $ options ) { $ src = ( is_string ( $ options [ 'src' ] ) ) ? $ options [ 'src' ] : $ this -> getScriptLink ( $ key ) ; if ( $ options [ 'with_version' ] ) { $ src = call_user_func_array ( $ this -> assetInsertMethod , [ $ src , $ this -> assetVersion ] ) ; } echo "<script type='text/javascript' src='$src'></script>\n" ; } $ this -> printInlineScript ( ) ; }
Display links to loaded javascripts files and loaded inline script

@return void
Display links to loaded javascripts files and loaded inline script