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 |
|
/** |
|
* @var $faker \Faker\Generator |
|
* @var $index integer |
|
*/ |
|
|
|
$security = Yii::$app->getSecurity(); |
|
|
|
return [ |
|
'username' => $faker->userName, |
|
'email' => $faker->email, |
|
'auth_key' => $security->generateRandomString(), |
|
'created_at' => time(), |
|
'updated_at' => time(), |
|
];
|
|
|