Next major version 2 with PHP 8.1, Symfony 6, Tabler UI, 2FA ... (#2902)
This commit is contained in:
@@ -58,6 +58,15 @@ final class TagFixtures implements TestFixture
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function importAmount(int $amount): void
|
||||
{
|
||||
$tags = [];
|
||||
for ($i = 0; $i <= $amount; $i++) {
|
||||
$tags[] = (string) $i;
|
||||
}
|
||||
$this->setTagArray($tags);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param ObjectManager $manager
|
||||
* @return Tag[]
|
||||
|
||||
Reference in New Issue
Block a user