<?php
namespace Claromentis\People\Event;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"] ?: array()) + array("conte" . "xt" => base64_decode("Y29udGV4dA=" . "="), "_5439477835f9c7cc26a988f88cb195" . "53" => base64_decode("cHJldl9mdWxsX25hbW" . "U="), "use" . "r_i" . "d" => base64_decode("dXN" . "lcl" . "9pZ" . "A=="), "_b070ffda70d673baa2ab" . "1a4ca13c254c" => base64_decode("cHJldl91c2" . "VybmFtZQ=="), "_8cca4dd34e20c5" . "344bb2a30f2533c" . "4e5" => base64_decode("ZnVs" . "bF9u" . "YW1l"), "_539cf4259a149ca" . "9dbb739b2cdb7c60" . "8" => base64_decode("ZW1haWxfYWRkcmVz" . "cw=="), "_eb6cb4623735c07195e9" . "3735d659236d" => base64_decode("cHJldl9lb" . "WFpbF9hZG" . "RyZXNz"), "_baec81a782bb3d538149a922" . "5688246e" => base64_decode("ZXZlbnRfc2" . "91cmNl"), "_28c85ce81f" . "ee653298026" . "2893b6f2425" => base64_decode("dXNlcm5h" . "bWU="), "_dd45fa0d6586ab8e73f6f6f116b1a" . "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["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["conte" . "xt"]) ? $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["contex" . "t"]) : null;
    }
    
    
    
    
    
    
    public function GetUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["user_" . "id"]);
    }
    
    
    
    
    public function GetFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_8cca4dd34e2" . "0c5344bb2a30" . "f2533c4e5"]);
    }
    
    
    
    
    public function GetUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_28c85ce81fee653298026" . "2893b6f2425"]);
    }
    
    
    
    
    public function GetEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_539cf4259a149ca9dbb739b2cd" . "b7c608"]);
    }
    
    
    
    
    public function GetPrevUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_dd45fa0d6586ab8e73f6f6f116b1a97" . "0"]);
    }
    
    
    
    
    public function GetPrevFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_5439477835f9c7cc26a988" . "f88cb19553"]);
    }
    
    
    
    
    public function GetPrevUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_b070ffda70d" . "673baa2ab1a4" . "ca13c254c"]);
    }
    
    
    
    
    public function GetPrevEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_eb6cb4623735c07195e93" . "735d659236d"]);
    }
    
    
    
    
    
    
    
    
    public function GetEventSource()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_baec81a782bb3d538149" . "a9225688246e"]);
    }
    
    
    
    
    
    
    public function SetErrorMessage($error_message)
    {
        $this->error_message = $error_message;
    }
    
    
    
    
    
    
    public function GetErrorMessage()
    {
        return $this->error_message;
    }
}