24 lines
481 B
PHP
24 lines
481 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use Pterodactyl\Models\HardwareSecurityKey;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
class WebauthnKeyFactory extends Factory
|
|
{
|
|
/**
|
|
* The name of the factory's corresponding model.
|
|
*/
|
|
protected $model = HardwareSecurityKey::class;
|
|
|
|
/**
|
|
* Define the model's default state.
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'name' => $this->faker->name,
|
|
];
|
|
}
|
|
}
|