23 lines
462 B
PHP
23 lines
462 B
PHP
<?php
|
|
|
|
namespace Database\Factories\Api;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\ApiTokenFactory>
|
|
*/
|
|
class ApiTokenFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function definition()
|
|
{
|
|
return [
|
|
'name' => $this->faker->name() . ' Token',
|
|
];
|
|
}
|
|
}
|