diff --git a/src/AppBundle/Utils/Stats.php b/src/AppBundle/Utils/Stats.php new file mode 100644 index 0000000..64d0fee --- /dev/null +++ b/src/AppBundle/Utils/Stats.php @@ -0,0 +1,61 @@ +skipped = 0; + $this->error = 0; + $this->success = 0; + } + + public function success() + { + $this->success = $this->success + 1; + } + + public function error() + { + $this->error = $this->error + 1; + } + + public function skipped() + { + $this->skipped = $this->skipped + 1; + } + + /** + * @return int + */ + public function getSuccess() + { + return $this->success; + } + + /** + * @return int + */ + public function getError() + { + return $this->error; + } + + /** + * @return int + */ + public function getSkipped() + { + return $this->skipped; + } +}