<?php
namespace Claromentis\People\Event;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"] = (@$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"] ?: array()) + array("_eb6cb4623735c07195e93735d6592" . "36d" => base64_decode("cHJldl9l" . "bWFpbF9h" . "ZGRyZXNz"), "_dd45fa0" . "d6586ab8" . "e73f6f6f" . "116b1a97" . "0" => base64_decode("cHJldl91c" . "2VyX2lk"), "_28c85ce81fee65329802628" . "93b6f2425" => base64_decode("dXNlcm" . "5hbWU="), "_8cca4dd34" . "e20c5344bb" . "2a30f2533c" . "4e5" => base64_decode("ZnVsbF9u" . "YW1l"), "use" . "r_i" . "d" => base64_decode("dXNlcl9" . "pZA=="), "_baec81a782bb3" . "d538149a922568" . "8246e" => base64_decode("ZXZlbnRfc291cm" . "Nl"), "contex" . "t" => base64_decode("Y29udGV4dA" . "=="), "_539cf4259a149ca9" . "dbb739b2cdb7c608" => base64_decode("ZW1haWxfYWRkc" . "mVzcw=="), "_b070ffda70d673baa2ab1a4ca13c" . "254c" => base64_decode("cHJldl91c" . "2VybmFtZQ" . "=="), "_5439477835f9c7c" . "c26a988f88cb1955" . "3" => base64_decode("cHJldl9md" . "WxsX25hbW" . "U="));
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["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["conte" . "xt"]) ? $this->getArgument($GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["co" . "nt" . "ex" . "t"]) : null;
    }
    
    
    
    
    
    
    public function GetUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["user_" . "id"]);
    }
    
    
    
    
    public function GetFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_8cca4dd34e20c5344bb2a30f2533c" . "4e5"]);
    }
    
    
    
    
    public function GetUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_28c85ce81fee6" . "532980262893b6" . "f2425"]);
    }
    
    
    
    
    public function GetEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_539cf4259a149ca9dbb7" . "39b2cdb7c608"]);
    }
    
    
    
    
    public function GetPrevUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_dd45fa0d6586ab8e7" . "3f6f6f116b1a970"]);
    }
    
    
    
    
    public function GetPrevFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_5439477835f9" . "c7cc26a988f88" . "cb19553"]);
    }
    
    
    
    
    public function GetPrevUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_b070ffda70d673baa2ab1a4ca13c" . "254c"]);
    }
    
    
    
    
    public function GetPrevEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_eb6cb4623735c07195e93735" . "d659236d"]);
    }
    
    
    
    
    
    
    
    
    public function GetEventSource()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_baec81a782bb3d" . "538149a92256882" . "46e"]);
    }
    
    
    
    
    
    
    public function SetErrorMessage($error_message)
    {
        $this->error_message = $error_message;
    }
    
    
    
    
    
    
    public function GetErrorMessage()
    {
        return $this->error_message;
    }
}