1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45:
<?php
namespace Webmozart\Console\Formatter;
use Webmozart\Console\Api\Formatter\Style;
use Webmozart\Console\Api\Formatter\StyleSet;
class DefaultStyleSet extends StyleSet
{
public function __construct()
{
$this->replace(array(
Style::tag('b')->bold(),
Style::tag('u')->underlined(),
Style::tag('bu')->bold()->underlined(),
Style::tag('c1')->fgCyan(),
Style::tag('c2')->fgYellow(),
Style::tag('error')->fgWhite()->bgRed(),
Style::tag('warn')->fgBlack()->bgYellow(),
Style::tag('info')->fgCyan(),
Style::tag('comment')->fgCyan(),
Style::tag('question')->fgBlack()->bgCyan(),
));
}
}