*/ class UserFactory extends Factory { /** * Define the model's default state. * * @return array */ public function definition() { return [ 'nev' => $this->faker->name(), 'email' => $this->faker->unique()->safeEmail(), 'felh_nev' => $this->faker->userName(), 'jelszo' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password 'is_admin' => false, ]; } }