How to set parameters for laravel 8 factory?

后端 未结 0 915
被撕碎了的回忆
被撕碎了的回忆 2021-01-18 15:27

In my Laravel 8 reading how factory works at https://laravel.com/docs/8.x/database-testing when I set params in factory call :

$ads = Ad::factory()->count         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题