Browse Source

docs improved

tags/2.0.0-beta
Mark 11 years ago
parent
commit
8dc5c5cfdd
  1. 3
      extensions/yii/faker/FixtureController.php
  2. 3
      extensions/yii/faker/README.md

3
extensions/yii/faker/FixtureController.php

@ -61,6 +61,9 @@ use yii\helpers\Console;
*
* //also a short version of this command (generate action is default)
* php yii faker users
*
* //to generate fixtures for several tables, use "," as a separator, for example:
* php yii faker users,profile
* ~~~
*
* In the code above "users" is template name, after this command run, new file named same as template

3
extensions/yii/faker/README.md

@ -92,6 +92,9 @@ php yii faker/generate users
//also a short version of this command ("generate" action is default)
php yii faker users
//to generate fixtures for several tables, use "," as a separator, for example:
php yii faker users,profile,some_other_table
```
In the code above "users" is template name, after this command run, new file named same as template

Loading…
Cancel
Save