Browse Source

quotation added.

tags/2.0.0-beta
Mark 11 years ago
parent
commit
319d0aef82
  1. 4
      extensions/yii/faker/README.md

4
extensions/yii/faker/README.md

@ -49,7 +49,7 @@ return [
'table_columnN+1' => function ($fixture, $faker, $index) {
//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.
return $fixture;
}
],
@ -143,7 +143,7 @@ class Book extends \Faker\Provider\Base
}
```
You can use it by adding it to the $providers property of the current command. In your console.php config:
You can use it by adding it to the ```$providers``` property of the current command. In your console.php config:
```php
'controllerMap' => [

Loading…
Cancel
Save