public function testFailed($testNumber, $filename, array $errors) { $this->output->writeln(Json::encode([$filename => $errors])); }
public function encode() { return Json::encode($this->toArray()) . "\n"; }
public function toJson() { return Json::encode($this->toArray()); }
public function end() { $this->output->writeln(Json::encode($this->json)); }