<?php
namespace Claromentis\People\Event;

$GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"] ?: array()) + array("_5439477835f9c7cc26a9" . "88f88cb19553" => base64_decode("cHJldl9mdWxsX25h" . "bWU="), "_28c85ce81fee653298026289" . "3b6f2425" => base64_decode("dXNlcm5hbW" . "U="), "_baec81a782bb3d538149a92256" . "88246e" => base64_decode("ZXZlbnRfc" . "291cmNl"), "_539cf4259a149ca9dbb739b2cdb7c" . "608" => base64_decode("ZW1haWx" . "fYWRkcm" . "Vzcw=="), "_b070ffda70d673baa2ab1a4ca" . "13c254c" => base64_decode("cHJldl91c2V" . "ybmFtZQ=="), "_dd45fa0d6586ab8e73f6f6f" . "116b1a970" => base64_decode("cHJldl" . "91c2Vy" . "X2lk"), "_8cca4dd34e20c534" . "4bb2a30f2533c4e5" => base64_decode("ZnVsbF9uYW" . "1l"), "contex" . "t" => base64_decode("Y29" . "udG" . "V4d" . "A=="), "_eb6cb4623735c07195e937" . "35d659236d" => base64_decode("cHJldl9l" . "bWFpbF9h" . "ZGRyZXNz"), "user" . "_id" => base64_decode("dXNlcl" . "9pZA=="));
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["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["con" . "tex" . "t"]) ? $this->getArgument($GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["contex" . "t"]) : null;
    }
    
    
    
    
    
    
    public function GetUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["use" . "r_i" . "d"]);
    }
    
    
    
    
    public function GetFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_8cca4dd34e20c5344bb2a30f" . "2533c4e5"]);
    }
    
    
    
    
    public function GetUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_28c85ce81fee65" . "32980262893b6f2" . "425"]);
    }
    
    
    
    
    public function GetEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_539cf4259a14" . "9ca9dbb739b2c" . "db7c608"]);
    }
    
    
    
    
    public function GetPrevUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_dd45fa0d6586ab" . "8e73f6f6f116b1a" . "970"]);
    }
    
    
    
    
    public function GetPrevFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_5439477835f9c7cc26a988f88cb1955" . "3"]);
    }
    
    
    
    
    public function GetPrevUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_b070ffda70d673baa2ab1a4ca" . "13c254c"]);
    }
    
    
    
    
    public function GetPrevEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_eb6cb4623735c07195e9" . "3735d659236d"]);
    }
    
    
    
    
    
    
    
    
    public function GetEventSource()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_baec81a7" . "82bb3d538" . "149a92256" . "88246e"]);
    }
    
    
    
    
    
    
    public function SetErrorMessage($error_message)
    {
        $this->error_message = $error_message;
    }
    
    
    
    
    
    
    public function GetErrorMessage()
    {
        return $this->error_message;
    }
}