<?php
namespace Claromentis\People\Event;

$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"] ?: array()) + array("user" . "_id" => base64_decode("dXNlcl" . "9pZA=="), "contex" . "t" => base64_decode("Y29u" . "dGV4" . "dA=="), "_eb6cb4623735c07195e9" . "3735d659236d" => base64_decode("cHJldl9lbWFp" . "bF9hZGRyZXNz"), "_baec81a782" . "bb3d538149a" . "9225688246e" => base64_decode("ZXZlbnRfc29" . "1cmNl"), "_b070ffda70d673baa2ab1a4c" . "a13c254c" => base64_decode("cHJldl91" . "c2VybmFt" . "ZQ=="), "_5439477" . "835f9c7c" . "c26a988f" . "88cb1955" . "3" => base64_decode("cHJldl9mdWxsX" . "25hbWU="), "_dd45fa0d6586ab8" . "e73f6f6f116b1a97" . "0" => base64_decode("cHJldl91c2V" . "yX2lk"), "_8cca4dd34e20c5344bb" . "2a30f2533c4e5" => base64_decode("ZnV" . "sbF" . "9uY" . "W1l"), "_539cf4259a14" . "9ca9dbb739b2c" . "db7c608" => base64_decode("ZW1haWxfYW" . "RkcmVzcw=="), "_28c85ce81fee65" . "32980262893b6f2" . "425" => base64_decode("dXNlcm5" . "hbWU="));
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["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["cont" . "ext"]) ? $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["contex" . "t"]) : null;
    }
    
    
    
    
    
    
    public function GetUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["us" . "er" . "_i" . "d"]);
    }
    
    
    
    
    public function GetFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_8cca4dd34e" . "20c5344bb2a" . "30f2533c4e5"]);
    }
    
    
    
    
    public function GetUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_28c85ce81fee6" . "532980262893b6" . "f2425"]);
    }
    
    
    
    
    public function GetEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_539cf4259a149ca9dbb739b2cdb7c6" . "08"]);
    }
    
    
    
    
    public function GetPrevUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_dd45fa0d6586ab8e73" . "f6f6f116b1a970"]);
    }
    
    
    
    
    public function GetPrevFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_5439477835f9c7" . "cc26a988f88cb19" . "553"]);
    }
    
    
    
    
    public function GetPrevUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_b070ffda70d6" . "73baa2ab1a4ca" . "13c254c"]);
    }
    
    
    
    
    public function GetPrevEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_eb6cb4623735c0719" . "5e93735d659236d"]);
    }
    
    
    
    
    
    
    
    
    public function GetEventSource()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_baec81a7" . "82bb3d538" . "149a92256" . "88246e"]);
    }
    
    
    
    
    
    
    public function SetErrorMessage($error_message)
    {
        $this->error_message = $error_message;
    }
    
    
    
    
    
    
    public function GetErrorMessage()
    {
        return $this->error_message;
    }
}