public static function script($src, $type = 'text/javascript', array $attributes = array())
    {
        $attributes = array_merge($attributes, compact('src', 'type'));

        return '<script' . self::attributes($attributes) . '></script>' . PHP_EOL;
    }
public static function script($src, $type = 'text/javascript', array $attributes = array())
    {
        $attributes = array_merge($attributes, compact('src', 'type'));

        return '<script' . self::attributes($attributes) . '></script>' . PHP_EOL;
    }
public static function script ( $ src , $ type = 'text/javascript' , array $ attributes = array ( ) ) { $ attributes = array_merge ( $ attributes , compact ( 'src' , 'type' ) ) ; return '<script' . self :: attributes ( $ attributes ) . '></script>' . PHP_EOL ; }
Generates a script tag.
@param  string $src        The URL for the script.
@param  string $type       The type of script.
@param  array  $attributes Additional attributes.
@return string
Generates a script tag .