<?php
namespace Claromentis\People\Event;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"] = (@$GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"] ?: array()) + array("_5439477835f9c7cc26a988f88" . "cb19553" => base64_decode("cHJldl9m" . "dWxsX25h" . "bWU="), "_baec81a782bb" . "3d538149a9225" . "688246e" => base64_decode("ZXZlbnRfc291" . "cmNl"), "_8cca4dd34e20" . "c5344bb2a30f2" . "533c4e5" => base64_decode("ZnVsb" . "F9uYW" . "1l"), "_dd45fa0d6586ab8e73f6" . "f6f116b1a970" => base64_decode("cHJldl" . "91c2Vy" . "X2lk"), "_539cf4259a149ca9dbb739b2cdb7c6" . "08" => base64_decode("ZW1haW" . "xfYWRk" . "cmVzcw" . "=="), "conte" . "xt" => base64_decode("Y29u" . "dGV4" . "dA=="), "_b070ffda70d673baa2ab1" . "a4ca13c254c" => base64_decode("cHJldl91c2Vybm" . "FtZQ=="), "_28c85ce81fee" . "6532980262893" . "b6f2425" => base64_decode("dXNl" . "cm5h" . "bWU="), "us" . "er" . "_i" . "d" => base64_decode("dXNlcl9p" . "ZA=="), "_eb6cb4623735c07195e93735d6" . "59236d" => base64_decode("cHJldl9lbWFpbF9hZGRyZX" . "Nz"));
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["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["conte" . "xt"]) ? $this->getArgument($GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["con" . "tex" . "t"]) : null;
    }
    
    
    
    
    
    
    public function GetUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["user_i" . "d"]);
    }
    
    
    
    
    public function GetFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_8cca4dd34e20c5344bb" . "2a30f2533c4e5"]);
    }
    
    
    
    
    public function GetUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_28c85ce81fee6532980262893" . "b6f2425"]);
    }
    
    
    
    
    public function GetEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_539cf4259a149ca9db" . "b739b2cdb7c608"]);
    }
    
    
    
    
    public function GetPrevUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_dd45fa0d6586ab" . "8e73f6f6f116b1a" . "970"]);
    }
    
    
    
    
    public function GetPrevFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_5439477835f9" . "c7cc26a988f88" . "cb19553"]);
    }
    
    
    
    
    public function GetPrevUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_b070ffda70d673baa2ab1" . "a4ca13c254c"]);
    }
    
    
    
    
    public function GetPrevEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_eb6cb4623735c07195e93735d65" . "9236d"]);
    }
    
    
    
    
    
    
    
    
    public function GetEventSource()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_baec81a782bb3" . "d538149a922568" . "8246e"]);
    }
    
    
    
    
    
    
    public function SetErrorMessage($error_message)
    {
        $this->error_message = $error_message;
    }
    
    
    
    
    
    
    public function GetErrorMessage()
    {
        return $this->error_message;
    }
}