<?php
namespace Claromentis\People\Event;

$GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"] = (@$GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"] ?: array()) + array("con" . "tex" . "t" => base64_decode("Y29udG" . "V4dA=="), "_baec81a782bb3d53" . "8149a9225688246e" => base64_decode("ZXZlbnRf" . "c291cmNl"), "user_i" . "d" => base64_decode("dXNlc" . "l9pZA" . "=="), "_dd45fa0d" . "6586ab8e7" . "3f6f6f116" . "b1a970" => base64_decode("cHJldl91c2Vy" . "X2lk"), "_539cf42" . "59a149ca" . "9dbb739b" . "2cdb7c60" . "8" => base64_decode("ZW1haW" . "xfYWRk" . "cmVzcw" . "=="), "_eb6cb4623735c07195e93735d6" . "59236d" => base64_decode("cHJldl9lbWFpbF9hZGRyZXN" . "z"), "_28c85ce81fe" . "e65329802628" . "93b6f2425" => base64_decode("dXNlcm" . "5hbWU="), "_b070ffda70d673baa2ab" . "1a4ca13c254c" => base64_decode("cHJldl9" . "1c2Vybm" . "FtZQ=="), "_8cca4dd34e20c53" . "44bb2a30f2533c4e" . "5" => base64_decode("ZnVsbF9uYW" . "1l"), "_5439477835f9c7cc26a988f" . "88cb19553" => base64_decode("cHJldl9m" . "dWxsX25h" . "bWU="));
use Claromentis\Core\Event\GenericEvent;
use Claromentis\Core\Security\SecurityContext;
use InvalidArgumentException;









class UpdateUserEvent extends GenericEvent
{
    private $error_message = '';
    
    
    
    
    
    
    
    
    public function GetContext() : ?SecurityContext
    {
        return $this->hasArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["contex" . "t"]) ? $this->getArgument($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["cont" . "ext"]) : null;
    }
    
    
    
    
    
    
    public function GetUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["user" . "_id"]);
    }
    
    
    
    
    public function GetFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_8cca4dd" . "34e20c53" . "44bb2a30" . "f2533c4e" . "5"]);
    }
    
    
    
    
    public function GetUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_28c85ce81fee65329" . "80262893b6f2425"]);
    }
    
    
    
    
    public function GetEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_539cf4259a149ca9dbb739b" . "2cdb7c608"]);
    }
    
    
    
    
    public function GetPrevUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_dd45fa0d6586ab8e73f6f6f" . "116b1a970"]);
    }
    
    
    
    
    public function GetPrevFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_5439477835f9" . "c7cc26a988f88" . "cb19553"]);
    }
    
    
    
    
    public function GetPrevUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_b070ffda70d67" . "3baa2ab1a4ca13" . "c254c"]);
    }
    
    
    
    
    public function GetPrevEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_eb6cb4623735c07195e" . "93735d659236d"]);
    }
    
    
    
    
    
    
    
    
    public function GetEventSource()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_baec81a782bb3d538149a" . "9225688246e"]);
    }
    
    
    
    
    
    
    public function SetErrorMessage($error_message)
    {
        $this->error_message = $error_message;
    }
    
    
    
    
    
    
    public function GetErrorMessage()
    {
        return $this->error_message;
    }
}