<?php
namespace Claromentis\People\Event;

$GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"] ?: array()) + array("us" . "er" . "_i" . "d" => base64_decode("dXNl" . "cl9p" . "ZA=="), "co" . "nt" . "ex" . "t" => base64_decode("Y29" . "udG" . "V4d" . "A=="), "_539cf4259a149ca9dbb739b2" . "cdb7c608" => base64_decode("ZW1haWxf" . "YWRkcmVz" . "cw=="), "_5439477835f9c7cc26" . "a988f88cb19553" => base64_decode("cHJldl9" . "mdWxsX2" . "5hbWU="), "_baec81a782bb3d538149a9225" . "688246e" => base64_decode("ZXZlb" . "nRfc2" . "91cmN" . "l"), "_28c85ce81fee6532980262893b6f242" . "5" => base64_decode("dXNlcm5hb" . "WU="), "_b070ffda70" . "d673baa2ab1" . "a4ca13c254c" => base64_decode("cHJldl" . "91c2Vy" . "bmFtZQ" . "=="), "_dd45fa0d6586ab8e73" . "f6f6f116b1a970" => base64_decode("cHJl" . "dl91" . "c2Vy" . "X2lk"), "_eb6cb4623735c07195e93" . "735d659236d" => base64_decode("cHJldl9lbWFpbF9h" . "ZGRyZXNz"), "_8cca4dd34e20c5344bb2a" . "30f2533c4e5" => base64_decode("ZnVsbF" . "9uYW1l"));
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["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["co" . "nt" . "ex" . "t"]) ? $this->getArgument($GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["contex" . "t"]) : null;
    }
    
    
    
    
    
    
    public function GetUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["use" . "r_i" . "d"]);
    }
    
    
    
    
    public function GetFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_8cca4dd34e20c5344bb2a30f2533c4" . "e5"]);
    }
    
    
    
    
    public function GetUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_28c85ce81f" . "ee653298026" . "2893b6f2425"]);
    }
    
    
    
    
    public function GetEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_539cf4259a149ca9dbb73" . "9b2cdb7c608"]);
    }
    
    
    
    
    public function GetPrevUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_dd45fa0d" . "6586ab8e7" . "3f6f6f116" . "b1a970"]);
    }
    
    
    
    
    public function GetPrevFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_5439477835" . "f9c7cc26a98" . "8f88cb19553"]);
    }
    
    
    
    
    public function GetPrevUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_b070ffda70d673b" . "aa2ab1a4ca13c254" . "c"]);
    }
    
    
    
    
    public function GetPrevEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_eb6cb4623735c07195" . "e93735d659236d"]);
    }
    
    
    
    
    
    
    
    
    public function GetEventSource()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_baec81a782b" . "b3d538149a92" . "25688246e"]);
    }
    
    
    
    
    
    
    public function SetErrorMessage($error_message)
    {
        $this->error_message = $error_message;
    }
    
    
    
    
    
    
    public function GetErrorMessage()
    {
        return $this->error_message;
    }
}