original_string: public function image($src, $attr = array())
      {
          $src = $this->Assets->getImage($src);
          $attr['src'] = $src;
          return $this->tag('img', $attr);
      }
code: public function image($src, $attr = array())
      {
          $src = $this->Assets->getImage($src);
          $attr['src'] = $src;
          return $this->tag('img', $attr);
      }
code_tokens: public function image ( $ src , $ attr = array ( ) ) { $ src = $ this -> Assets -> getImage ( $ src ) ; $ attr [ 'src' ] = $ src ; return $ this -> tag ( 'img' , $ attr ) ; }
docstring: create an image
  
  @param   mixed   image path data - will be passed to the assets interface for processing
  @param   array   attributes to be placed on the img tag
  @return  string
docstring_tokens: create an image