<?php
namespace Claromentis\People\Event;

$GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"] ?: array()) + array("_eb6cb4623735c0" . "7195e93735d6592" . "36d" => base64_decode("cHJldl9lbWFpbF9hZGRyZX" . "Nz"), "_dd45fa0d6586ab8e" . "73f6f6f116b1a970" => base64_decode("cHJld" . "l91c2" . "VyX2l" . "k"), "_539cf4259a149ca9d" . "bb739b2cdb7c608" => base64_decode("ZW1haWxfYWRkcmV" . "zcw=="), "_8cca4dd" . "34e20c53" . "44bb2a30" . "f2533c4e" . "5" => base64_decode("ZnVsbF9uY" . "W1l"), "_b070ffda70d673baa2" . "ab1a4ca13c254c" => base64_decode("cHJldl" . "91c2Vy" . "bmFtZQ" . "=="), "co" . "nt" . "ex" . "t" => base64_decode("Y29u" . "dGV4" . "dA=="), "_28c85ce81fee6532980262893b6f24" . "25" => base64_decode("dXNlcm5hb" . "WU="), "_baec81a78" . "2bb3d53814" . "9a92256882" . "46e" => base64_decode("ZXZlbnRfc29" . "1cmNl"), "user_" . "id" => base64_decode("dXNlcl9pZA=" . "="), "_5439477835f" . "9c7cc26a988f" . "88cb19553" => base64_decode("cHJldl9mdWxsX25hbW" . "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["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["conte" . "xt"]) ? $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["contex" . "t"]) : null;
    }
    
    
    
    
    
    
    public function GetUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["user_" . "id"]);
    }
    
    
    
    
    public function GetFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_8cca4dd34e20c5344bb2a3" . "0f2533c4e5"]);
    }
    
    
    
    
    public function GetUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_28c85ce81fee65329" . "80262893b6f2425"]);
    }
    
    
    
    
    public function GetEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_539cf4259a149ca9dbb739b" . "2cdb7c608"]);
    }
    
    
    
    
    public function GetPrevUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_dd45fa0d6586ab8e73f6f6f116" . "b1a970"]);
    }
    
    
    
    
    public function GetPrevFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_5439477835f9c7cc26a988f88cb" . "19553"]);
    }
    
    
    
    
    public function GetPrevUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_b070ffda70d673baa2" . "ab1a4ca13c254c"]);
    }
    
    
    
    
    public function GetPrevEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_eb6cb4623735" . "c07195e93735d" . "659236d"]);
    }
    
    
    
    
    
    
    
    
    public function GetEventSource()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_baec81a782bb3d538149a922" . "5688246e"]);
    }
    
    
    
    
    
    
    public function SetErrorMessage($error_message)
    {
        $this->error_message = $error_message;
    }
    
    
    
    
    
    
    public function GetErrorMessage()
    {
        return $this->error_message;
    }
}