<?php
namespace Claromentis\People\Event;

$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"] ?: array()) + array("_b070ffda70d673baa2ab" . "1a4ca13c254c" => base64_decode("cHJld" . "l91c2" . "VybmF" . "tZQ=="), "user" . "_id" => base64_decode("dXNlc" . "l9pZA" . "=="), "_baec81a782b" . "b3d538149a92" . "25688246e" => base64_decode("ZXZlbnRfc291" . "cmNl"), "_8cca4dd34e20c5344bb2a30f2533c4e" . "5" => base64_decode("ZnVsbF9" . "uYW1l"), "_eb6cb462373" . "5c07195e9373" . "5d659236d" => base64_decode("cHJldl9lbWFpbF9hZGRyZ" . "XNz"), "_28c85ce81fee" . "6532980262893" . "b6f2425" => base64_decode("dXNl" . "cm5h" . "bWU="), "con" . "tex" . "t" => base64_decode("Y29udG" . "V4dA=="), "_5439477835f9c7cc26a988" . "f88cb19553" => base64_decode("cHJldl9mdWxsX25hbW" . "U="), "_dd45fa0d6586ab8" . "e73f6f6f116b1a97" . "0" => base64_decode("cHJldl91c2VyX2l" . "k"), "_539cf4259a149ca9dbb739" . "b2cdb7c608" => base64_decode("ZW1haWxfY" . "WRkcmVzcw" . "=="));
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["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["cont" . "ext"]) ? $this->getArgument($GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["co" . "nt" . "ex" . "t"]) : null;
    }
    
    
    
    
    
    
    public function GetUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["user_i" . "d"]);
    }
    
    
    
    
    public function GetFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_8cca4dd34e20c5344bb2a30f253" . "3c4e5"]);
    }
    
    
    
    
    public function GetUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_28c85ce81fee6532980" . "262893b6f2425"]);
    }
    
    
    
    
    public function GetEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_539cf4259a149ca9dbb7" . "39b2cdb7c608"]);
    }
    
    
    
    
    public function GetPrevUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_dd45fa0d658" . "6ab8e73f6f6f" . "116b1a970"]);
    }
    
    
    
    
    public function GetPrevFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_5439477835f9c" . "7cc26a988f88cb" . "19553"]);
    }
    
    
    
    
    public function GetPrevUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_b070ffda70" . "d673baa2ab1" . "a4ca13c254c"]);
    }
    
    
    
    
    public function GetPrevEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_eb6cb4623735c07195e937" . "35d659236d"]);
    }
    
    
    
    
    
    
    
    
    public function GetEventSource()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_baec81a782bb3d538149a922568824" . "6e"]);
    }
    
    
    
    
    
    
    public function SetErrorMessage($error_message)
    {
        $this->error_message = $error_message;
    }
    
    
    
    
    
    
    public function GetErrorMessage()
    {
        return $this->error_message;
    }
}