Beispiel #1
0
 protected function action()
 {
     $this->validateUser();
     $this->user->confirmation_code->generate();
     $this->repositoryInterface->insert($this->user);
     $this->notificationInterface->inform($this->user);
 }
Beispiel #2
0
 protected function fixtureUsers($data)
 {
     foreach ($data as $user) {
         $this->repository->insert($user);
     }
 }