public function execute()
 {
     $item = UserRegistration::newInstance($_SERVER['REMOTE_ADDR'], time());
     $item->setLogin($this->login);
     $item->setName($this->name);
     $item->getPasswordBuilder()->specifyPassword($this->password);
     $item->setEmail($this->email);
     $item->setLanguage($this->language);
     $this->repository->register($item);
 }
 public function remove(UserRegistration $item)
 {
     $this->transaction->requestTransaction();
     try {
         $item->remove($this->conn);
     } catch (Exception $exception) {
         $this->transaction->requestRollback();
         throw $exception;
     }
 }