<?php
namespace Claromentis\People\Event;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"] = (@$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"] ?: array()) + array("cont" . "ext" => base64_decode("Y29ud" . "GV4dA" . "=="), "_8cca4dd34e20c534" . "4bb2a30f2533c4e5" => base64_decode("ZnVsbF9u" . "YW1l"), "_eb6cb4623735c" . "07195e93735d65" . "9236d" => base64_decode("cHJldl9lbWFpbF" . "9hZGRyZXNz"), "_dd45fa0d6586" . "ab8e73f6f6f11" . "6b1a970" => base64_decode("cHJldl91c2V" . "yX2lk"), "_baec81a782bb3d538149a9225" . "688246e" => base64_decode("ZXZlbnRfc291c" . "mNl"), "user_i" . "d" => base64_decode("dXNlcl9pZ" . "A=="), "_28c85ce81fee653298026" . "2893b6f2425" => base64_decode("dXNlcm5h" . "bWU="), "_54394778" . "35f9c7cc2" . "6a988f88c" . "b19553" => base64_decode("cHJldl9mdWxs" . "X25hbWU="), "_b070ffda70d673baa2ab1a4ca1" . "3c254c" => base64_decode("cHJldl91c2VybmFt" . "ZQ=="), "_539cf4259a149ca9dbb73" . "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"]["con" . "tex" . "t"]) ? $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["con" . "tex" . "t"]) : null;
    }
    
    
    
    
    
    
    public function GetUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["use" . "r_i" . "d"]);
    }
    
    
    
    
    public function GetFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_8cca4dd34e20c5344b" . "b2a30f2533c4e5"]);
    }
    
    
    
    
    public function GetUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_28c85ce81" . "fee6532980" . "262893b6f2" . "425"]);
    }
    
    
    
    
    public function GetEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_539cf425" . "9a149ca9d" . "bb739b2cd" . "b7c608"]);
    }
    
    
    
    
    public function GetPrevUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_dd45fa0d6586ab" . "8e73f6f6f116b1a" . "970"]);
    }
    
    
    
    
    public function GetPrevFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_5439477835f9c" . "7cc26a988f88cb" . "19553"]);
    }
    
    
    
    
    public function GetPrevUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_b070ffda70d673baa2ab1a" . "4ca13c254c"]);
    }
    
    
    
    
    public function GetPrevEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_eb6cb462373" . "5c07195e9373" . "5d659236d"]);
    }
    
    
    
    
    
    
    
    
    public function GetEventSource()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_baec81a" . "782bb3d5" . "38149a92" . "25688246" . "e"]);
    }
    
    
    
    
    
    
    public function SetErrorMessage($error_message)
    {
        $this->error_message = $error_message;
    }
    
    
    
    
    
    
    public function GetErrorMessage()
    {
        return $this->error_message;
    }
}