Commit 2ae2d575 by Mark

readme guide improved

parent 319d0aef
...@@ -46,7 +46,7 @@ return [ ...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment