// http://en.wikipedia.org/wiki/ANSI_escape_code
$this->output->
write(\
chr(27
) . '[2J'
); // ED – Erase Display
$this->output->
write(\
chr(27
) . '[1;1H'
); // CUP – Set Cursor Position to upper left
} /**
* Prints banner to output interface
*/
public function printBanner() { $this->output->
writeln($this->
getBanner());
} /**
* @return string
*/
private function getBanner() { $banner = <<<EOT
_
___| |__ ___ _ ____ ____ _ _ __ ___
/ __| '_ \ / _ \| '_ \ \ /\ / / _` | '__/ _ \
\__ \ | | | (_) | |_) \ V V / (_| | | | __/
|___/_| |_|\___/| .__/ \_/\_/ \__,_|_| \___|
|_|