🎉 initial commit

This commit is contained in:
2024-10-07 22:58:27 +02:00
commit d3eccf99f0
824 changed files with 16401 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace Application\Generator;
use Faker\Factory;
use Faker\Generator;
class WebsiteObjectGenerator
{
/**
* @var Generator
*/
private Generator $generator;
public function __construct(private readonly string $seed)
{
$this->generator = Factory::create();
$this->getGenerator()->seed($this->seed);
}
protected function getGenerator(): Generator
{
return $this->generator;
}
protected function getSeed(): string
{
return $this->seed;
}
}