<?php
namespace Claromentis\People\Event;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"] = (@$GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"] ?: array()) + array("_dd45fa0d6586ab8e73f6f6f1" . "16b1a970" => base64_decode("cHJldl91c" . "2VyX2lk"), "user" . "_id" => base64_decode("dXNlcl9p" . "ZA=="), "_8cca4dd34e20c53" . "44bb2a30f2533c4e" . "5" => base64_decode("ZnVsbF9uYW" . "1l"), "_b070ffda70d" . "673baa2ab1a4" . "ca13c254c" => base64_decode("cHJld" . "l91c2" . "VybmF" . "tZQ=="), "_28c85ce81fee653298026" . "2893b6f2425" => base64_decode("dXN" . "lcm" . "5hb" . "WU="), "_baec81a78" . "2bb3d53814" . "9a92256882" . "46e" => base64_decode("ZXZlbnRf" . "c291cmNl"), "_539cf4259a149ca9dbb739b2c" . "db7c608" => base64_decode("ZW1haWxfYWRkcmV" . "zcw=="), "_5439477835f9c7" . "cc26a988f88cb19" . "553" => base64_decode("cHJldl9mdWxs" . "X25hbWU="), "con" . "tex" . "t" => base64_decode("Y29" . "udG" . "V4d" . "A=="), "_eb6cb46" . "23735c07" . "195e9373" . "5d659236" . "d" => base64_decode("cHJldl9lbWFpbF9hZGRyZXN" . "z"));
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["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["co" . "nt" . "ex" . "t"]) ? $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["co" . "nt" . "ex" . "t"]) : null;
    }
    
    
    
    
    
    
    public function GetUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["user" . "_id"]);
    }
    
    
    
    
    public function GetFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_8cca4dd34e20c5344bb2a30f2533" . "c4e5"]);
    }
    
    
    
    
    public function GetUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_28c85ce81fee65329802628" . "93b6f2425"]);
    }
    
    
    
    
    public function GetEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_539cf4259a149ca" . "9dbb739b2cdb7c60" . "8"]);
    }
    
    
    
    
    public function GetPrevUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_dd45fa0d6586ab8e73f6f6f" . "116b1a970"]);
    }
    
    
    
    
    public function GetPrevFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_5439477835f9c7cc" . "26a988f88cb19553"]);
    }
    
    
    
    
    public function GetPrevUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_b070ffda70d673" . "baa2ab1a4ca13c2" . "54c"]);
    }
    
    
    
    
    public function GetPrevEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_eb6cb4623735c07195e9373" . "5d659236d"]);
    }
    
    
    
    
    
    
    
    
    public function GetEventSource()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_baec81a78" . "2bb3d53814" . "9a92256882" . "46e"]);
    }
    
    
    
    
    
    
    public function SetErrorMessage($error_message)
    {
        $this->error_message = $error_message;
    }
    
    
    
    
    
    
    public function GetErrorMessage()
    {
        return $this->error_message;
    }
}