예제 #1
0
 public function run()
 {
     $user = new User(['email' => '*****@*****.**', 'firstname' => 'Zen', 'lastname' => 'Bot']);
     $user->setPassword('secret');
     Account::first()->users()->save($user);
 }