database/factories/OptionFactory.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 [
            'description' => $this->faker->sentence(4),
            'correct' => $this->faker->boolean,
        ];
    }
public function definition ( ) { return [ 'description' => $ this -> faker -> sentence ( 4 ) , 'correct' => $ this -> faker -> boolean , ] ; }
Define the model's default state.
Define the model ' s default state .