1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 06:32:40 +01:00
invoiceninja/app/Factory/UserFactory.php
2019-04-26 20:51:02 +10:00

25 lines
328 B
PHP

<?php
namespace App\Factory;
use App\Models\User;
class UserFactory
{
public static function create() :User
{
$user = new User;
$user->first_name = '';
$user->last_name = '';
$user->phone = '';
$user->email = '';
$user->theme_id = 0;
$user->failed_logins = 0;
$user->signature = '';
return $user;
}
}