misc_pterodactyl-panel/database/Factories/WebauthnKeyFactory.php

25 lines
481 B
PHP
Raw Normal View History

<?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,
];
}
}