Beispiel #1
0
 /**
  * Register default formatter styles.
  */
 protected function addDefaultStyles()
 {
     $this->consoleFormatter->style('error')->parseStyle('clr=white bg=red');
     $this->consoleFormatter->style('warning')->parseStyle('clr=black bg=yellow');
     $this->consoleFormatter->style('success')->parseStyle('clr=black bg=green');
     $this->consoleFormatter->style('question')->parseStyle('clr=green');
     $this->consoleFormatter->style('header')->parseStyle('clr=yellow');
     $this->consoleFormatter->style('title')->parseStyle('clr=yellow');
     $this->consoleFormatter->style('keyword')->parseStyle('clr=green');
     $this->consoleFormatter->style('green')->parseStyle('clr=green');
     $this->consoleFormatter->style('yellow')->parseStyle('clr=yellow');
     $this->consoleFormatter->style('red')->parseStyle('clr=red');
     $this->consoleFormatter->style('white')->parseStyle('clr=white');
     $this->consoleFormatter->style('blue')->parseStyle('clr=blue');
     $this->consoleFormatter->style('gray')->parseStyle('clr=gray');
     $this->consoleFormatter->style('black')->parseStyle('clr=black');
     $this->consoleFormatter->style('bold')->parseStyle('fmt=bold');
     $this->consoleFormatter->style('italic')->parseStyle('fmt=italic');
     $this->consoleFormatter->style('underline')->parseStyle('fmt=underline');
     $this->consoleFormatter->style('strikethrough')->parseStyle('fmt=strikethrough');
 }