Extends
lithium\core\Object
Writes a header to the output stream.
In addition to the actual text, horizontal lines before and afterwards are written.
Parameters
- string $text The heading text.
- integer $line The length of the line. Defaults to 80.
Returns
voidSource
public function header($text, $line = 80) {
$this->hr($line);
$this->out($text, 1, 'heading');
$this->hr($line);
}