lithium\console\Command::hr()

public method

Adds a horizontal line to output stream.

Parameters

  • integer $length

    The length of the line, defaults to 80.

  • integer $newlines

    How many new lines to print afterwards, defaults to 1.

Returns

integer

Source

	public function hr($length = 80, $newlines = 1) {
		return $this->out(str_repeat('-', $length), $newlines);
	}