企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
fzaninotto/Faker: [https://github.com/fzaninotto/Faker](https://github.com/fzaninotto/Faker) file location: <code>/database/factories/UserFactory.php</code> ``` $factory->define(App\Target::class, function (Faker $faker) { return [ 'target' => $faker->sentence(6), 'ranking' => str_random(1), ]; }); ``` ``` protected $guarded = []; // Set which field cannot be injected ``` ``` php artisan tinker factory(App\Target::class, 10)->create(); ``` If you have more time, you can fix this problem. This problem is treated as an assignment