You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
448 B
PHP
23 lines
448 B
PHP
<?php
|
|
|
|
namespace Database\Factories\Engelsystem\Models\User;
|
|
|
|
use Engelsystem\Models\User\PasswordReset;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
class PasswordResetFactory extends Factory
|
|
{
|
|
/** @var string */
|
|
protected $model = PasswordReset::class;
|
|
|
|
/**
|
|
* @return array
|
|
*/
|
|
public function definition()
|
|
{
|
|
return [
|
|
'token' => md5($this->faker->unique()->password()),
|
|
];
|
|
}
|
|
}
|