1
|
<?php
|
2
|
|
3
|
/*
|
4
|
|--------------------------------------------------------------------------
|
5
|
| Model Factories
|
6
|
|--------------------------------------------------------------------------
|
7
|
|
|
8
|
| Here you may define all of your model factories. Model factories give
|
9
|
| you a convenient way to create models for testing and seeding your
|
10
|
| database. Just tell the factory how a default model should look.
|
11
|
|
|
12
|
*/
|
13
|
|
14
|
$factory->define(App\User::class, function ($faker) {
|
15
|
return [
|
16
|
'name' => $faker->name,
|
17
|
'email' => $faker->email,
|
18
|
];
|
19
|
});
|