Created
August 6, 2020 13:05
-
-
Save demirhanali/38ddfb7633b9f78427fa8a453ecf9226 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** @var \Illuminate\Database\Eloquent\Factory $factory */ | |
use App\Writer; | |
use Faker\Generator as Faker; | |
$factory->define(Writer::class, function (Faker $faker) { | |
return [ | |
'name' => $faker->name, | |
'state' => $faker->state | |
]; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment