Commit 319d0aef by Mark

quotation added.

parent 1bf1a34f
...@@ -49,7 +49,7 @@ return [ ...@@ -49,7 +49,7 @@ return [
'table_columnN+1' => function ($fixture, $faker, $index) { 'table_columnN+1' => 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.
return $fixture; return $fixture;
} }
], ],
...@@ -143,7 +143,7 @@ class Book extends \Faker\Provider\Base ...@@ -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 ```php
'controllerMap' => [ 'controllerMap' => [
......
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