- début refonte graphique
- début MangaDbProvider
This commit is contained in:
@@ -21,11 +21,11 @@ class AppFixtures extends Fixture
|
||||
];
|
||||
});
|
||||
|
||||
$mangas = MangaFactory::createMany(5);
|
||||
$mangas = MangaFactory::createMany(25);
|
||||
|
||||
foreach ($mangas as $manga) {
|
||||
|
||||
for ($i = 1; $i <= 10; $i++) {
|
||||
for ($i = 1; $i <= 5; $i++) {
|
||||
$manga->addChapter(ChapterFactory::createOne([
|
||||
'manga' => $manga,
|
||||
'number' => $i
|
||||
@@ -33,7 +33,7 @@ class AppFixtures extends Fixture
|
||||
}
|
||||
|
||||
foreach ($manga->getChapters() as $chapter) {
|
||||
for ($i = 1; $i <= 15; $i++) {
|
||||
for ($i = 1; $i <= 5; $i++) {
|
||||
$chapter->addPagesLink(PageFactory::createOne([
|
||||
'chapter' => $chapter,
|
||||
'number' => $i
|
||||
|
||||
Reference in New Issue
Block a user