<?php
namespace Claromentis\People\Event;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"] = (@$GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"] ?: array()) + array("_5439477" . "835f9c7c" . "c26a988f" . "88cb1955" . "3" => base64_decode("cHJldl" . "9mdWxs" . "X25hbW" . "U="), "_8cca4dd34e20c53" . "44bb2a30f2533c4e" . "5" => base64_decode("ZnVs" . "bF9u" . "YW1l"), "_dd45fa0d6586" . "ab8e73f6f6f11" . "6b1a970" => base64_decode("cHJl" . "dl91" . "c2Vy" . "X2lk"), "us" . "er" . "_i" . "d" => base64_decode("dXNl" . "cl9p" . "ZA=="), "_b070ffda" . "70d673baa" . "2ab1a4ca1" . "3c254c" => base64_decode("cHJldl91c2VybmFtZQ" . "=="), "_baec81a78" . "2bb3d53814" . "9a92256882" . "46e" => base64_decode("ZXZlbnRf" . "c291cmNl"), "_28c85ce81f" . "ee653298026" . "2893b6f2425" => base64_decode("dXNlcm5hb" . "WU="), "conte" . "xt" => base64_decode("Y29u" . "dGV4" . "dA=="), "_eb6cb46237" . "35c07195e93" . "735d659236d" => base64_decode("cHJldl9lbWFpbF9hZG" . "RyZXNz"), "_539cf4259a14" . "9ca9dbb739b2c" . "db7c608" => base64_decode("ZW1haWxfYWRkcm" . "Vzcw=="));
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["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["contex" . "t"]) ? $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["contex" . "t"]) : null;
    }
    
    
    
    
    
    
    public function GetUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["user" . "_id"]);
    }
    
    
    
    
    public function GetFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_8cca4dd34e20c5344bb2a" . "30f2533c4e5"]);
    }
    
    
    
    
    public function GetUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_28c85ce81fee6532980262893b6f24" . "25"]);
    }
    
    
    
    
    public function GetEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_539cf4259a149ca9db" . "b739b2cdb7c608"]);
    }
    
    
    
    
    public function GetPrevUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_dd45fa0d6586ab8e73f6f6f116b" . "1a970"]);
    }
    
    
    
    
    public function GetPrevFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_5439477835f9c7cc26a988f88cb1" . "9553"]);
    }
    
    
    
    
    public function GetPrevUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_b070ffda70d673baa2ab1a4ca13c" . "254c"]);
    }
    
    
    
    
    public function GetPrevEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_eb6cb4623735c07195" . "e93735d659236d"]);
    }
    
    
    
    
    
    
    
    
    public function GetEventSource()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_baec81a782bb3d5" . "38149a9225688246" . "e"]);
    }
    
    
    
    
    
    
    public function SetErrorMessage($error_message)
    {
        $this->error_message = $error_message;
    }
    
    
    
    
    
    
    public function GetErrorMessage()
    {
        return $this->error_message;
    }
}