public function __construct(colorizer $colorizer = null, prompt $prompt = null) { parent::__construct(); $this->colorizer = $colorizer ?: new colorizer(34); $this->prompt = $prompt ?: new prompt(' ∅ ', new colorizer('1;37', 44)); $this->events = array(test::void); }
public function __construct(colorizer $colorizer = null, prompt $prompt = null) { parent::__construct(); $this->colorizer = $colorizer ?: new colorizer(32); $this->prompt = $prompt ?: new prompt(' ✔ ', new colorizer('1;37', 42)); $this->events = array(test::success); }
public function __construct() { parent::__construct(); $this->events = array(test::runStop, test::runtimeException); }
public function __construct(prompt $prompt = null) { parent::__construct(); $this->prompt = $prompt ?: new prompt(' Uncompleted:', new colorizer('1;37')); $this->events = array(test::uncompleted); }