database/factories/LinkFactory.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 [
            'input_url' => $this->faker->url(),
            'output_url' => $this->faker->url(),
            'user_id' => $this->faker->name()
        ];
    }
public function definition ( ) { return [ 'input_url' => $ this -> faker -> url ( ) , 'output_url' => $ this -> faker -> url ( ) , 'user_id' => $ this -> faker -> name ( ) ] ; }
Define the model's default state.
Define the model ' s default state .