diff --git a/src/Faker/Generator.php b/src/Faker/Generator.php index 0a4e050294..8bc88480a4 100644 --- a/src/Faker/Generator.php +++ b/src/Faker/Generator.php @@ -278,4 +278,9 @@ public function __call($method, $attributes) { return $this->format($method, $attributes); } + + public function __destruct() + { + $this->seed(); + } }