database/factories/meta_sampleFactory.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 [
            'sample_id' => '1',
            'question' => $this->faker->sentence(),
            'answer' => $this->faker->paragraph(),
        ];
    }
public function definition ( ) { return [ 'sample_id' => '1' , 'question' => $ this -> faker -> sentence ( ) , 'answer' => $ this -> faker -> paragraph ( ) , ] ; }
Define the model's default state.
Define the model ' s default state .