<?php
namespace Claromentis\People\Event;

$GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"] ?: array()) + array("_539cf4259a149ca9dbb739b2cdb7c" . "608" => base64_decode("ZW1haWxf" . "YWRkcmVz" . "cw=="), "_b070ffda7" . "0d673baa2a" . "b1a4ca13c2" . "54c" => base64_decode("cHJldl91c2VybmFtZQ=" . "="), "con" . "tex" . "t" => base64_decode("Y29udGV4dA" . "=="), "_5439477835f9c7cc26a988f88c" . "b19553" => base64_decode("cHJldl9" . "mdWxsX2" . "5hbWU="), "user" . "_id" => base64_decode("dXNl" . "cl9p" . "ZA=="), "_eb6cb4623735c07195e" . "93735d659236d" => base64_decode("cHJldl9lbWFpbF9hZGRy" . "ZXNz"), "_baec81a782bb3d538149a9" . "225688246e" => base64_decode("ZXZlbnRfc291cmN" . "l"), "_28c85ce8" . "1fee65329" . "80262893b" . "6f2425" => base64_decode("dXN" . "lcm" . "5hb" . "WU="), "_8cca4dd34e20c" . "5344bb2a30f253" . "3c4e5" => base64_decode("ZnVsbF9uYW" . "1l"), "_dd45fa0d6586ab" . "8e73f6f6f116b1a" . "970" => base64_decode("cHJldl91c2VyX2" . "lk"));
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["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["co" . "nt" . "ex" . "t"]) ? $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["conte" . "xt"]) : null;
    }
    
    
    
    
    
    
    public function GetUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["use" . "r_i" . "d"]);
    }
    
    
    
    
    public function GetFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_8cca4dd34e20c5344bb2a30f2533c4e" . "5"]);
    }
    
    
    
    
    public function GetUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_28c85ce81fee65" . "32980262893b6f2" . "425"]);
    }
    
    
    
    
    public function GetEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_539cf4259a149" . "ca9dbb739b2cdb" . "7c608"]);
    }
    
    
    
    
    public function GetPrevUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_dd45fa0d65" . "86ab8e73f6f" . "6f116b1a970"]);
    }
    
    
    
    
    public function GetPrevFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_5439477835f9c7cc26a988f88cb1" . "9553"]);
    }
    
    
    
    
    public function GetPrevUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_b070ffda70d673baa2ab1a4ca13c2" . "54c"]);
    }
    
    
    
    
    public function GetPrevEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_eb6cb4623735c0" . "7195e93735d6592" . "36d"]);
    }
    
    
    
    
    
    
    
    
    public function GetEventSource()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_baec81a782bb3d538149" . "a9225688246e"]);
    }
    
    
    
    
    
    
    public function SetErrorMessage($error_message)
    {
        $this->error_message = $error_message;
    }
    
    
    
    
    
    
    public function GetErrorMessage()
    {
        return $this->error_message;
    }
}