Added rest of files
This commit is contained in:
committed by
shaun collins
parent
646041230b
commit
09c4bd02ff
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
class FaqFactory extends Factory
|
||||
{
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
'question' => fake()->sentence(),
|
||||
'answer' => fake()->paragraph(),
|
||||
'link' => 'https://example.com',
|
||||
'link_text' => 'Learn More',
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user