database/factories/UserFactory.php
/**
     * Define the model's default state.
     *
     * @return array
     */
Define the model's default state.
@return array
Define the model ' s default state . @return array
public function definition()
    {
        return [
            'firstname' => $this->faker->firstName(),
            'lastname' => $this->faker->lastName(),
            'email' => $this->faker->unique()->safeEmail(),
            'email_verified_at' => now(),
            'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', 
            'remember_token' => Str::random(10),
        ];
    }
public function definition ( ) { return [ 'firstname' => $ this -> faker -> firstName ( ) , 'lastname' => $ this -> faker -> lastName ( ) , 'email' => $ this -> faker -> unique ( ) -> safeEmail ( ) , 'email_verified_at' => now ( ) , 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi' , 'remember_token' => Str :: random ( 10 ) , ] ; }
Define the model's default state.
Define the model ' s default state .
// password