<?php
namespace Claromentis\People\Event;

$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"] ?: array()) + array("user_" . "id" => base64_decode("dXNlcl" . "9pZA=="), "_8cca4dd34e" . "20c5344bb2a" . "30f2533c4e5" => base64_decode("ZnVsbF9" . "uYW1l"), "_baec81a782bb3d538149a9" . "225688246e" => base64_decode("ZXZlbnRfc291" . "cmNl"), "_eb6cb4623735c071" . "95e93735d659236d" => base64_decode("cHJldl9lbWFpbF9" . "hZGRyZXNz"), "_539cf4259a" . "149ca9dbb73" . "9b2cdb7c608" => base64_decode("ZW1haWxfYWRkc" . "mVzcw=="), "_28c85ce81fee" . "6532980262893" . "b6f2425" => base64_decode("dXNlcm5h" . "bWU="), "_b070ffda70d673baa2ab1a4c" . "a13c254c" => base64_decode("cHJldl91c" . "2VybmFtZQ" . "=="), "_dd45fa0d65" . "86ab8e73f6f" . "6f116b1a970" => base64_decode("cHJldl91c2Vy" . "X2lk"), "_5439477835f9" . "c7cc26a988f88" . "cb19553" => base64_decode("cHJldl" . "9mdWxs" . "X25hbW" . "U="), "conte" . "xt" => base64_decode("Y29udGV4d" . "A=="));
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["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["co" . "nt" . "ex" . "t"]) ? $this->getArgument($GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["co" . "nt" . "ex" . "t"]) : null;
    }
    
    
    
    
    
    
    public function GetUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["user" . "_id"]);
    }
    
    
    
    
    public function GetFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_8cca4dd34e20c5344bb2a30f25" . "33c4e5"]);
    }
    
    
    
    
    public function GetUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_28c85ce81fee6532980262893" . "b6f2425"]);
    }
    
    
    
    
    public function GetEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_539cf4259a149ca9dbb739b2cdb" . "7c608"]);
    }
    
    
    
    
    public function GetPrevUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_dd45fa0d6586ab8e73f6f6" . "f116b1a970"]);
    }
    
    
    
    
    public function GetPrevFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_5439477835f9c7cc26a98" . "8f88cb19553"]);
    }
    
    
    
    
    public function GetPrevUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_b070ffda70d673baa2ab1a4ca13c25" . "4c"]);
    }
    
    
    
    
    public function GetPrevEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_eb6cb4623735c07195e937" . "35d659236d"]);
    }
    
    
    
    
    
    
    
    
    public function GetEventSource()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_baec81a782bb3d538149a92256882" . "46e"]);
    }
    
    
    
    
    
    
    public function SetErrorMessage($error_message)
    {
        $this->error_message = $error_message;
    }
    
    
    
    
    
    
    public function GetErrorMessage()
    {
        return $this->error_message;
    }
}