database/factories/ActionFactory.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 [
            'number_character' => $this->faker->randomElement(['1', '2']),
            'health' => $this->faker->numberBetween(-25, 25),
            'description' => $this->faker->sentence(10)
        ];
    }
public function definition ( ) { return [ 'number_character' => $ this -> faker -> randomElement ( [ '1' , '2' ] ) , 'health' => $ this -> faker -> numberBetween ( - 25 , 25 ) , 'description' => $ this -> faker -> sentence ( 10 ) ] ; }
Define the model's default state.
Define the model ' s default state .