Skip to content

Commit

Permalink
Update Anonymizer.php (#9)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
Makynou and arrilot authored Jan 10, 2023
1 parent d943de9 commit ff090b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Anonymizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
}
}

Expand Down

0 comments on commit ff090b3

Please sign in to comment.