From ff090b3ff97caa7a592348e567662997656ebfd8 Mon Sep 17 00:00:00 2001 From: Makynou <34098047+Makynou@users.noreply.github.com> Date: Tue, 10 Jan 2023 23:03:35 +0100 Subject: [PATCH] Update Anonymizer.php (#9) * Update Anonymizer.php - Shows the table that has been processed. - Shows how many tables are left to process * Update Anonymizer.php Co-authored-by: Nekrasov Ilya --- src/Anonymizer.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Anonymizer.php b/src/Anonymizer.php index b7b80d3..1d772e7 100644 --- a/src/Anonymizer.php +++ b/src/Anonymizer.php @@ -78,8 +78,12 @@ public function getGenerator() */ public function run() { + $i = 1; + $total = count($this->blueprints); foreach ($this->blueprints as $table => $blueprint) { $this->applyBlueprint($blueprint); + echo $table . ' ' . $i . ' / ' . $total . PHP_EOL; + $i++; } }