public function header($text, $line = null) { if (!$line) { $line = strlen($text); } $this->hr($line); $this->out($text, 'heading'); $this->hr($line); }