Commerce example

$console->note(sprintf('Took %f seconds', $end));

            $demodataContext->setTiming($definition$numberOfItems$end);
        }

        return $demodataContext;
    }

    private function getFaker(): Generator
    {
        $faker = Factory::create('de-DE');
        $faker->addProvider(new Commerce($faker));
        $faker->addProvider(new ImagesGeneratorProvider($faker));

        return $faker;
    }
}
Home | Imprint | This part of the site doesn't use cookies.