src/View/Helper/Traits/IncludeTrait.php
protected function _getScriptOutput(array $options, $url)
    {
        return $this->formatTemplate('javascriptlink', [
            'url'   => $url,
            'attrs' => $this->templater()->formatAttributes($options, ['block', 'once', 'weight', 'alias']),
        ]);
    }
protected function _getScriptOutput(array $options, $url)
    {
        return $this->formatTemplate('javascriptlink', [
            'url'   => $url,
            'attrs' => $this->templater()->formatAttributes($options, ['block', 'once', 'weight', 'alias']),
        ]);
    }
protected function _getScriptOutput ( array $ options , $ url ) { return $ this -> formatTemplate ( 'javascriptlink' , [ 'url' => $ url , 'attrs' => $ this -> templater ( ) -> formatAttributes ( $ options , [ 'block' , 'once' , 'weight' , 'alias' ] ) , ] ) ; }
Get current script output.

@param array $options
@param string $url
@return string
Get current script output .