<?php
namespace Claromentis\People\Event;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"] ?: array()) + array("_b070ffda70d673baa2ab1a4ca13c25" . "4c" => base64_decode("cHJldl91" . "c2VybmFt" . "ZQ=="), "co" . "nt" . "ex" . "t" => base64_decode("Y29udGV4d" . "A=="), "_dd45fa0d6586ab8e73f6" . "f6f116b1a970" => base64_decode("cHJldl91c2VyX" . "2lk"), "user" . "_id" => base64_decode("dXNlcl9pZA=" . "="), "_eb6cb4623" . "735c07195e" . "93735d6592" . "36d" => base64_decode("cHJldl9lbWFpbF9hZGRyZX" . "Nz"), "_539cf42" . "59a149ca" . "9dbb739b" . "2cdb7c60" . "8" => base64_decode("ZW1haWxfYW" . "RkcmVzcw=="), "_5439477" . "835f9c7c" . "c26a988f" . "88cb1955" . "3" => base64_decode("cHJldl9mdWxsX25hb" . "WU="), "_baec81a782bb3d538149a92256" . "88246e" => base64_decode("ZXZlbnRfc29" . "1cmNl"), "_8cca4dd34e2" . "0c5344bb2a30" . "f2533c4e5" => base64_decode("ZnVsbF" . "9uYW1l"), "_28c85ce81fee653298026289" . "3b6f2425" => base64_decode("dXNlcm" . "5hbWU="));
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["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["contex" . "t"]) ? $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["contex" . "t"]) : null;
    }
    
    
    
    
    
    
    public function GetUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["use" . "r_i" . "d"]);
    }
    
    
    
    
    public function GetFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_8cca4dd34e20c5344bb2" . "a30f2533c4e5"]);
    }
    
    
    
    
    public function GetUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_28c85ce" . "81fee653" . "29802628" . "93b6f242" . "5"]);
    }
    
    
    
    
    public function GetEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_539cf4259a149ca9dbb739b2c" . "db7c608"]);
    }
    
    
    
    
    public function GetPrevUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_dd45fa0d658" . "6ab8e73f6f6f" . "116b1a970"]);
    }
    
    
    
    
    public function GetPrevFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_5439477835f9c7cc2" . "6a988f88cb19553"]);
    }
    
    
    
    
    public function GetPrevUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_b070ffda70" . "d673baa2ab1" . "a4ca13c254c"]);
    }
    
    
    
    
    public function GetPrevEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_eb6cb4623735c07195e9373" . "5d659236d"]);
    }
    
    
    
    
    
    
    
    
    public function GetEventSource()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_baec81a782bb3d538" . "149a9225688246e"]);
    }
    
    
    
    
    
    
    public function SetErrorMessage($error_message)
    {
        $this->error_message = $error_message;
    }
    
    
    
    
    
    
    public function GetErrorMessage()
    {
        return $this->error_message;
    }
}