A bare bones front-end for knockout designed for maximum compatibility with "obsolete" browsers
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

30 řádky
541B

  1. <?php
  2. namespace Database\Factories;
  3. use App\Models\User;
  4. use Illuminate\Database\Eloquent\Factories\Factory;
  5. class UserFactory extends Factory
  6. {
  7. /**
  8. * The name of the factory's corresponding model.
  9. *
  10. * @var string
  11. */
  12. protected $model = User::class;
  13. /**
  14. * Define the model's default state.
  15. *
  16. * @return array
  17. */
  18. public function definition()
  19. {
  20. return [
  21. 'name' => $this->faker->name,
  22. 'email' => $this->faker->unique()->safeEmail,
  23. ];
  24. }
  25. }