<?php
namespace Claromentis\People\Event;

$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"] ?: array()) + array("contex" . "t" => base64_decode("Y29" . "udG" . "V4d" . "A=="), "_baec81a782bb3d" . "538149a92256882" . "46e" => base64_decode("ZXZlbnRfc291" . "cmNl"), "_28c85ce81fee653298026289" . "3b6f2425" => base64_decode("dXNlcm5hbW" . "U="), "_dd45fa0" . "d6586ab8" . "e73f6f6f" . "116b1a97" . "0" => base64_decode("cHJldl91c2" . "VyX2lk"), "_5439477835f9c7cc26a988f88cb195" . "53" => base64_decode("cHJldl9mdWxsX25hb" . "WU="), "us" . "er" . "_i" . "d" => base64_decode("dXNlc" . "l9pZA" . "=="), "_b070ffd" . "a70d673b" . "aa2ab1a4" . "ca13c254" . "c" => base64_decode("cHJldl91c2Vybm" . "FtZQ=="), "_eb6cb4623735c07195e93735d659" . "236d" => base64_decode("cHJldl9lbWFpbF9hZ" . "GRyZXNz"), "_8cca4dd34e2" . "0c5344bb2a30" . "f2533c4e5" => base64_decode("ZnVsbF9" . "uYW1l"), "_539cf4259a" . "149ca9dbb73" . "9b2cdb7c608" => base64_decode("ZW1haWxfYWRkcmVzcw=" . "="));
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"]["cont" . "ext"]) ? $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["contex" . "t"]) : null;
    }
    
    
    
    
    
    
    public function GetUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["use" . "r_i" . "d"]);
    }
    
    
    
    
    public function GetFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_8cca4dd34e20c5344bb2a30" . "f2533c4e5"]);
    }
    
    
    
    
    public function GetUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_28c85ce81fee6532" . "980262893b6f2425"]);
    }
    
    
    
    
    public function GetEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_539cf4259a149" . "ca9dbb739b2cdb" . "7c608"]);
    }
    
    
    
    
    public function GetPrevUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_dd45fa0d6586ab8e73f6f6f116b1a" . "970"]);
    }
    
    
    
    
    public function GetPrevFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_5439477835f9c7cc26a9" . "88f88cb19553"]);
    }
    
    
    
    
    public function GetPrevUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_b070ffda70d673baa2ab1" . "a4ca13c254c"]);
    }
    
    
    
    
    public function GetPrevEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_eb6cb4623735c0" . "7195e93735d6592" . "36d"]);
    }
    
    
    
    
    
    
    
    
    public function GetEventSource()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_baec81a782bb3d53814" . "9a9225688246e"]);
    }
    
    
    
    
    
    
    public function SetErrorMessage($error_message)
    {
        $this->error_message = $error_message;
    }
    
    
    
    
    
    
    public function GetErrorMessage()
    {
        return $this->error_message;
    }
}