<?php
namespace Claromentis\People\Event;

$GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"] ?: array()) + array("_5439477835" . "f9c7cc26a98" . "8f88cb19553" => base64_decode("cHJldl9" . "mdWxsX2" . "5hbWU="), "_b070ffd" . "a70d673b" . "aa2ab1a4" . "ca13c254" . "c" => base64_decode("cHJldl91c" . "2VybmFtZQ" . "=="), "conte" . "xt" => base64_decode("Y29udGV4d" . "A=="), "_28c85ce81fee65329" . "80262893b6f2425" => base64_decode("dXNlcm" . "5hbWU="), "_8cca4dd34e20c5344b" . "b2a30f2533c4e5" => base64_decode("ZnVs" . "bF9u" . "YW1l"), "_eb6cb4623735c07195e93735d6" . "59236d" => base64_decode("cHJldl9lbWFp" . "bF9hZGRyZXNz"), "_dd45fa0" . "d6586ab8" . "e73f6f6f" . "116b1a97" . "0" => base64_decode("cHJldl91c2V" . "yX2lk"), "user" . "_id" => base64_decode("dXNlc" . "l9pZA" . "=="), "_baec81a782bb3" . "d538149a922568" . "8246e" => base64_decode("ZXZlbnRf" . "c291cmNl"), "_539cf4259a149ca9dbb" . "739b2cdb7c608" => base64_decode("ZW1ha" . "WxfYW" . "RkcmV" . "zcw=="));
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["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["cont" . "ext"]) ? $this->getArgument($GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["co" . "nt" . "ex" . "t"]) : null;
    }
    
    
    
    
    
    
    public function GetUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["user" . "_id"]);
    }
    
    
    
    
    public function GetFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_8cca4dd34e20c5344bb2a30f2533c" . "4e5"]);
    }
    
    
    
    
    public function GetUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_28c85ce81fee6532980262893b6f242" . "5"]);
    }
    
    
    
    
    public function GetEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_539cf4259a149ca9dbb73" . "9b2cdb7c608"]);
    }
    
    
    
    
    public function GetPrevUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_dd45fa0d6586ab8e73f" . "6f6f116b1a970"]);
    }
    
    
    
    
    public function GetPrevFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_5439477835f9c7cc26a988f" . "88cb19553"]);
    }
    
    
    
    
    public function GetPrevUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_b070ffda70d673baa" . "2ab1a4ca13c254c"]);
    }
    
    
    
    
    public function GetPrevEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_eb6cb4623735c0719" . "5e93735d659236d"]);
    }
    
    
    
    
    
    
    
    
    public function GetEventSource()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_baec81a782bb3d538149a9225688246" . "e"]);
    }
    
    
    
    
    
    
    public function SetErrorMessage($error_message)
    {
        $this->error_message = $error_message;
    }
    
    
    
    
    
    
    public function GetErrorMessage()
    {
        return $this->error_message;
    }
}