div() public method

### Options - escape Whether or not the contents should be html_entity escaped.
public div ( string | null $class = null, string | null $text = null, array $options = [] ) : string
$class string | null CSS class name of the div element.
$text string | null String content that will appear inside the div element. If null, only a start tag will be printed
$options array Additional HTML attributes of the DIV tag
return string The formatted DIV element
Ejemplo n.º 1
0
 /**
  * Returns a formatted DIV tag
  * @param string $class CSS class name of the div element
  * @param string $text String content that will appear inside the div
  *  element
  * @param array $options Array of options and HTML attributes
  * @return string
  */
 public function div($class = null, $text = null, array $options = [])
 {
     return parent::div($class, $text, $options);
 }