*/ class UserFactory extends Factory { use BaseFactory; /** * Define the model's default state. * * @return array */ public function definition() { return [ 'name' => fake()->name(), 'email' => fake()->safeEmail(), 'status' => rand(0, 1) ]; } public static function list() { return []; } public function testGeneratorConfig() { return []; } public function dependencyProvider($dependencyAttributes= []) { return []; } }