database/factories/ContactFactory.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 [
            'logo1'=>'bx bx-map',
            'logo2'=>'bx bx-envelope',
            'logo3'=>'bx bx-phone-call',
            'adresse'=>$this->faker->address(),
            'phone'=>$this->faker->phoneNumber(),
            'email'=>$this->faker->email()
        ];
    }
public function definition ( ) { return [ 'logo1' => 'bx bx-map' , 'logo2' => 'bx bx-envelope' , 'logo3' => 'bx bx-phone-call' , 'adresse' => $ this -> faker -> address ( ) , 'phone' => $ this -> faker -> phoneNumber ( ) , 'email' => $ this -> faker -> email ( ) ] ; }
Define the model's default state.
Define the model ' s default state .