mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-23 08:43:19 +01:00
25 lines
619 B
PHP
25 lines
619 B
PHP
<?php
|
|
|
|
/* @var $group \Illuminate\Database\Eloquent\Factory */
|
|
|
|
use App\Group;
|
|
use Faker\Generator as Faker;
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Model Factories
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| This directory should contain each of the model factory definitions for
|
|
| your application. Factories provide a convenient way to generate new
|
|
| model instances for testing / seeding your application's database.
|
|
|
|
|
*/
|
|
|
|
|
|
$factory->define(Group::class, function (Faker $faker) {
|
|
return [
|
|
'name' => $faker->word,
|
|
];
|
|
});
|