UsefulLinkFactory.php 471 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace Database\Factories;
  3. use Illuminate\Database\Eloquent\Factories\Factory;
  4. class UsefulLinkFactory extends Factory
  5. {
  6. /**
  7. * Define the model's default state.
  8. *
  9. * @return array
  10. */
  11. public function definition()
  12. {
  13. return [
  14. 'icon' => 'fas fa-user',
  15. 'title' => $this->faker->text(30),
  16. 'link' => $this->faker->url(),
  17. 'description' => $this->faker->text(),
  18. ];
  19. }
  20. }