|
|
@ -46,7 +46,7 @@ return [ |
|
|
|
'table_column0' => 'faker_formatter', |
|
|
|
'table_column0' => 'faker_formatter', |
|
|
|
... |
|
|
|
... |
|
|
|
'table_columnN' => 'other_faker_formatter' |
|
|
|
'table_columnN' => 'other_faker_formatter' |
|
|
|
'table_columnN+1' => function ($fixture, $faker, $index) { |
|
|
|
'body' => function ($fixture, $faker, $index) { |
|
|
|
//set needed fixture fields based on different conditions |
|
|
|
//set needed fixture fields based on different conditions |
|
|
|
|
|
|
|
|
|
|
|
$fixture['body'] = $faker->sentence(7,true); #generate sentence exact with 7 words. |
|
|
|
$fixture['body'] = $faker->sentence(7,true); #generate sentence exact with 7 words. |
|
|
|