lithium\console\Command::header PHP Method

header() public method

Given the text 'Lithium' this generates following output: ------- Lithium -------
public header ( string $text, integer $line = null ) : void
$text string The heading text.
$line integer The length of the line. Defaults to the length of text.
return void
    public function header($text, $line = null)
    {
        if (!$line) {
            $line = strlen($text);
        }
        $this->hr($line);
        $this->out($text, 'heading');
        $this->hr($line);
    }