Browse Source

readme guide improved

tags/2.0.0-beta
Mark 11 years ago
parent
commit
2ae2d57512
  1. 2
      extensions/yii/faker/README.md

2
extensions/yii/faker/README.md

@ -46,7 +46,7 @@ return [
'table_column0' => '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
$fixture['body'] = $faker->sentence(7,true); #generate sentence exact with 7 words.

Loading…
Cancel
Save