public function div($class = null, $text = null, array $options = [])
    {
        if (!empty($class)) {
            $options['class'] = $class;
        }

        return $this->tag('div', $text, $options);
    }
public function div($class = null, $text = null, array $options = [])
    {
        if (!empty($class)) {
            $options['class'] = $class;
        }

        return $this->tag('div', $text, $options);
    }
public function div ( $ class = null , $ text = null , array $ options = [ ] ) { if ( ! empty ( $ class ) ) { $ options [ 'class' ] = $ class ; } return $ this -> tag ( 'div' , $ text , $ options ) ; }
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
Returns a formatted DIV tag for HTML FORMs .