login = Text::LOREM_IPSUM[\mt_rand(0, $LOREM_COUNT - 1)]; $account->name1 = \ucfirst(Text::LOREM_IPSUM[\mt_rand(0, $LOREM_COUNT - 1)]); $account->name2 = \ucfirst(Text::LOREM_IPSUM[\mt_rand(0, $LOREM_COUNT - 1)]); $account->name3 = \ucfirst(Text::LOREM_IPSUM[\mt_rand(0, $LOREM_COUNT - 1)]); $account->tries = 0; $account->setEmail(Email::generateEmail()); $account->status = AccountStatus::ACTIVE; $account->type = AccountType::USER; AccountMapper::create()->execute($account); $accounts[] = $account; } return $accounts; } }