hr() public method

Outputs a series of minus characters to the standard output, acts as a visual separator.
public hr ( integer $newlines, integer $width = 79 ) : void
$newlines integer Number of newlines to pre- and append
$width integer Width of the line, defaults to 79
return void
示例#1
0
文件: Shell.php 项目: a53ali/CakePhP
 /**
  * Outputs a series of minus characters to the standard output, acts as a visual separator.
  *
  * @param int $newlines Number of newlines to pre- and append
  * @param int $width Width of the line, defaults to 63
  * @return void
  * @link http://book.cakephp.org/3.0/en/console-and-shells.html#Shell::hr
  */
 public function hr($newlines = 0, $width = 63)
 {
     $this->_io->hr($newlines, $width);
 }