src/Yggdrasil/Utils/Seeds/AbstractSeeds.php
public function persist(): void
    {
        foreach ($this->create() as $seed) {
            $this->seeder->persist($seed);
            $this->persistedSeeds++;
        }

        $this->seeder->flush();
    }
public function persist(): void
    {
        foreach ($this->create() as $seed) {
            $this->seeder->persist($seed);
            $this->persistedSeeds++;
        }

        $this->seeder->flush();
    }
public function persist ( ) : void { foreach ( $ this -> create ( ) as $ seed ) { $ this -> seeder -> persist ( $ seed ) ; $ this -> persistedSeeds ++ ; } $ this -> seeder -> flush ( ) ; }
Persists seeds in database
Persists seeds in database