public static function script($text, array $attributes = [], $type = 'text/javascript')
    {
        return static::openTag('script',
            array_merge($attributes, ['type' => $type])).
            ' /*<![CDATA[*/ '.$text.' /*]]>*/ '.
            static::closeTag('script');
    }
public static function script($text, array $attributes = [], $type = 'text/javascript')
    {
        return static::openTag('script',
            array_merge($attributes, ['type' => $type])).
            ' /*<![CDATA[*/ '.$text.' /*]]>*/ '.
            static::closeTag('script');
    }
public static function script ( $ text , array $ attributes = [ ] , $ type = 'text/javascript' ) { return static :: openTag ( 'script' , array_merge ( $ attributes , [ 'type' => $ type ] ) ) . ' /*<![CDATA[*/ ' . $ text . ' /*]]>*/ ' . static :: closeTag ( 'script' ) ; }
Render script source

@access public

@param string $text script
@param array $attributes attributes tag
@param string $type type of script

@return string
@static
Render script source