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 [
            'name' => $this->faker->name,
            'surname' => $this->faker->lastname,
            'username' => $this->faker->name,
            'email' => $this->faker->unique()->safeEmail,
            'email_verified_at' => null,
            'email_verified_token' => null,
            'location'=> $this->faker->country,
            'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', 
            'is_premium' => false,
            'is_two_factor' => false,
            'two_factor_codes' => ""
        ];
    }
public function definition ( ) { return [ 'name' => $ this -> faker -> name , 'surname' => $ this -> faker -> lastname , 'username' => $ this -> faker -> name , 'email' => $ this -> faker -> unique ( ) -> safeEmail , 'email_verified_at' => null , 'email_verified_token' => null , 'location' => $ this -> faker -> country , 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi' , 'is_premium' => false , 'is_two_factor' => false , 'two_factor_codes' => " " ] ; }
Define the model's default state.
Define the model ' s default state .
// password