<?php
namespace Claromentis\People\Event;

$GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"] ?: array()) + array("_5439477835f9c7cc2" . "6a988f88cb19553" => base64_decode("cHJldl" . "9mdWxs" . "X25hbW" . "U="), "_28c85ce81fee653298" . "0262893b6f2425" => base64_decode("dXNlcm5hbW" . "U="), "_baec81a782bb3d5" . "38149a9225688246" . "e" => base64_decode("ZXZlbnRf" . "c291cmNl"), "us" . "er" . "_i" . "d" => base64_decode("dXNlcl9pZA=" . "="), "_dd45fa0" . "d6586ab8" . "e73f6f6f" . "116b1a97" . "0" => base64_decode("cHJldl91c2VyX2" . "lk"), "_b070ffd" . "a70d673b" . "aa2ab1a4" . "ca13c254" . "c" => base64_decode("cHJldl91" . "c2VybmFt" . "ZQ=="), "conte" . "xt" => base64_decode("Y29" . "udG" . "V4d" . "A=="), "_539cf4259a149ca9" . "dbb739b2cdb7c608" => base64_decode("ZW1haWxfYWRkcmVz" . "cw=="), "_eb6cb4623735c071" . "95e93735d659236d" => base64_decode("cHJldl9lbWFpbF9hZGRyZX" . "Nz"), "_8cca4dd34e20c5344bb2a30f2533" . "c4e5" => base64_decode("ZnVsbF" . "9uYW1l"));
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["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["cont" . "ext"]) ? $this->getArgument($GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["cont" . "ext"]) : null;
    }
    
    
    
    
    
    
    public function GetUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["user" . "_id"]);
    }
    
    
    
    
    public function GetFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_8cca4dd34e20c5344bb2a30" . "f2533c4e5"]);
    }
    
    
    
    
    public function GetUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_28c85ce81fee6" . "532980262893b6" . "f2425"]);
    }
    
    
    
    
    public function GetEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_539cf4259a149ca9dbb739b" . "2cdb7c608"]);
    }
    
    
    
    
    public function GetPrevUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_dd45fa0d6586ab8e73f6f6f116b1a97" . "0"]);
    }
    
    
    
    
    public function GetPrevFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_5439477835f9c7cc26a988f88cb" . "19553"]);
    }
    
    
    
    
    public function GetPrevUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_b070ffda70d673baa2ab1a4ca13c254" . "c"]);
    }
    
    
    
    
    public function GetPrevEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_eb6cb46237" . "35c07195e93" . "735d659236d"]);
    }
    
    
    
    
    
    
    
    
    public function GetEventSource()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_baec81a782bb3d538149a92256882" . "46e"]);
    }
    
    
    
    
    
    
    public function SetErrorMessage($error_message)
    {
        $this->error_message = $error_message;
    }
    
    
    
    
    
    
    public function GetErrorMessage()
    {
        return $this->error_message;
    }
}