database/factories/OrderFactory.php
/**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
Define the model's default state.
@return array
Define the model ' s default state . @return array
public function definition()
    {
        return [
            'first_name' => $this->faker->firstName,
            'last_name' => $this->faker->lastName,
            'email' => $this->faker->email,
            'created_at' => $this->faker->dateTime
        ];
    }
public function definition ( ) { return [ 'first_name' => $ this -> faker -> firstName , 'last_name' => $ this -> faker -> lastName , 'email' => $ this -> faker -> email , 'created_at' => $ this -> faker -> dateTime ] ; }
Define the model's default state.
Define the model ' s default state .