eZ\Publish\Core\Persistence\Legacy\User\Gateway::updateUser PHP Méthode

updateUser() abstract public méthode

Update the user information specified by the user struct.
abstract public updateUser ( eZ\Publish\SPI\Persistence\User $user )
$user eZ\Publish\SPI\Persistence\User
    public abstract function updateUser(User $user);

Usage Example

 /**
  * Update the user information specified by the user struct.
  *
  * @param User $user
  */
 public function updateUser(User $user)
 {
     try {
         return $this->innerGateway->updateUser($user);
     } catch (DBALException $e) {
         throw new RuntimeException('Database error', 0, $e);
     } catch (PDOException $e) {
         throw new RuntimeException('Database error', 0, $e);
     }
 }
All Usage Examples Of eZ\Publish\Core\Persistence\Legacy\User\Gateway::updateUser