<?php
namespace Claromentis\People\Event;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"] = (@$GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"] ?: array()) + array("_dd45fa0d6586ab8e73" . "f6f6f116b1a970" => base64_decode("cHJldl91c2" . "VyX2lk"), "_28c85ce" . "81fee653" . "29802628" . "93b6f242" . "5" => base64_decode("dXN" . "lcm" . "5hb" . "WU="), "_b070ffda70d673baa2ab1a4ca" . "13c254c" => base64_decode("cHJld" . "l91c2" . "VybmF" . "tZQ=="), "_8cca4dd34e20c5344bb2a30f2533c4e" . "5" => base64_decode("ZnVsbF9uYW1" . "l"), "_539cf4259a149ca9d" . "bb739b2cdb7c608" => base64_decode("ZW1haWxfYWRkcmVz" . "cw=="), "_5439477835f9c7cc26a988f88cb195" . "53" => base64_decode("cHJldl9m" . "dWxsX25h" . "bWU="), "_eb6cb4623735c071" . "95e93735d659236d" => base64_decode("cHJldl9lbWFpbF9hZGRyZ" . "XNz"), "co" . "nt" . "ex" . "t" => base64_decode("Y29udGV4d" . "A=="), "_baec81a782bb3d53" . "8149a9225688246e" => base64_decode("ZXZlb" . "nRfc2" . "91cmN" . "l"), "user_i" . "d" => base64_decode("dXNl" . "cl9p" . "ZA=="));
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["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["contex" . "t"]) ? $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["conte" . "xt"]) : null;
    }
    
    
    
    
    
    
    public function GetUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["user" . "_id"]);
    }
    
    
    
    
    public function GetFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_8cca4dd3" . "4e20c5344" . "bb2a30f25" . "33c4e5"]);
    }
    
    
    
    
    public function GetUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_28c85ce81fee6532980262" . "893b6f2425"]);
    }
    
    
    
    
    public function GetEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_539cf4259a149ca9dbb739b2cdb" . "7c608"]);
    }
    
    
    
    
    public function GetPrevUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_dd45fa0d658" . "6ab8e73f6f6f" . "116b1a970"]);
    }
    
    
    
    
    public function GetPrevFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_5439477835f9c" . "7cc26a988f88cb" . "19553"]);
    }
    
    
    
    
    public function GetPrevUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_b070ffda70d673b" . "aa2ab1a4ca13c254" . "c"]);
    }
    
    
    
    
    public function GetPrevEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_eb6cb4623735c07195e9" . "3735d659236d"]);
    }
    
    
    
    
    
    
    
    
    public function GetEventSource()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_baec81a782bb3d538149a922568824" . "6e"]);
    }
    
    
    
    
    
    
    public function SetErrorMessage($error_message)
    {
        $this->error_message = $error_message;
    }
    
    
    
    
    
    
    public function GetErrorMessage()
    {
        return $this->error_message;
    }
}