ВШ
Size: a a a
ВШ
ВШ
m
D
ВШ
ВШ
ВШ
m
m
ВШ
m
HM
HM
HM
public function run()
{
Article::factory()
->count(1)
->create();
}
HM
HM
HM
HM
protected $model = Article::class;
/**public function definition()
{
return [
'title' => $this->faker->unique()->title,
'body' => $this->faker->text(),
'status' => $this->faker->randomElement(['active', 'hidden']),
];
}