Constructor.
@since Method available since Release 3.0.0
mixed $out:
boolean $verbose:
boolean $colors:
boolean $debug:
Overrides PHPUnit_Util_Printer::__construct
public function __construct($out = NULL, $verbose = FALSE, $colors = FALSE, $debug = FALSE) {
parent::__construct($out);
if (is_bool($verbose)) {
$this->verbose = $verbose;
}
else {
throw PHPUnit_Util_InvalidArgumentHelper::factory(2, 'boolean');
}
if (is_bool($colors)) {
$this->colors = $colors;
}
else {
throw PHPUnit_Util_InvalidArgumentHelper::factory(3, 'boolean');
}
if (is_bool($debug)) {
$this->debug = $debug;
}
else {
throw PHPUnit_Util_InvalidArgumentHelper::factory(4, 'boolean');
}
}