src/Html.php
public function script($src, $attr = array())
    {
        $src = $this->Assets->getScript($src);
        $attr['src'] = $src;
        return $this->tag('script', $attr, '', true);
    }
public function script($src, $attr = array())
    {
        $src = $this->Assets->getScript($src);
        $attr['src'] = $src;
        return $this->tag('script', $attr, '', true);
    }
public function script ( $ src , $ attr = array ( ) ) { $ src = $ this -> Assets -> getScript ( $ src ) ; $ attr [ 'src' ] = $ src ; return $ this -> tag ( 'script' , $ attr , '' , true ) ; }
create a script tag

@param   mixed   script path data - will be passed to the assets interface for processing
@param   array   attributes to be placed on the script tag
@return  string
create a script tag