original_string: public function div($class = null, $text = null, array $options = [])
      {
          if (!empty($class)) {
              $options['class'] = $class;
          }
  
          return $this->tag('div', $text, $options);
      }
code: public function div($class = null, $text = null, array $options = [])
      {
          if (!empty($class)) {
              $options['class'] = $class;
          }
  
          return $this->tag('div', $text, $options);
      }
code_tokens: public function div ( $ class = null , $ text = null , array $ options = [ ] ) { if ( ! empty ( $ class ) ) { $ options [ 'class' ] = $ class ; } return $ this -> tag ( 'div' , $ text , $ options ) ; }
docstring: Returns a formatted DIV tag for HTML FORMs.
  
  ### Options
  
  - `escape` Whether or not the contents should be html_entity escaped.
  
  @param string|null $class CSS class name of the div element.
  @param string|null $text String content that will appear inside the div element.
  If null, only a start tag will be printed
  @param array $options Additional HTML attributes of the DIV tag
  @return string The formatted DIV element
docstring_tokens: Returns a formatted DIV tag for HTML FORMs .