You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Support\Str;
/** * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\User> */ class UserFactory extends Factory { use BaseFactory; /** * Define the model's default state. * * @return array<string, mixed> */ public function definition() { return [ 'name' => fake()->name(), 'email' => fake()->safeEmail(), 'status' => rand(0, 1) ]; } public static function list() { return []; }
public function testGeneratorConfig() { return []; }
public function dependencyProvider($dependencyAttributes= []) { return []; } }
|