<?php
namespace Claromentis\People\Event;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"] ?: array()) + array("con" . "tex" . "t" => base64_decode("Y29udG" . "V4dA=="), "_8cca4dd34e20c5344b" . "b2a30f2533c4e5" => base64_decode("ZnV" . "sbF" . "9uY" . "W1l"), "_b070ffda70d673baa2" . "ab1a4ca13c254c" => base64_decode("cHJldl91c2VybmFtZQ" . "=="), "_dd45fa0d6586ab8e73f6f6" . "f116b1a970" => base64_decode("cHJldl9" . "1c2VyX2" . "lk"), "_eb6cb4623735c07195e9373" . "5d659236d" => base64_decode("cHJldl9lbWFpbF9hZ" . "GRyZXNz"), "_28c85ce81fee653298" . "0262893b6f2425" => base64_decode("dXNlc" . "m5hbW" . "U="), "_baec81a782bb3d538149a922568" . "8246e" => base64_decode("ZXZlbnRfc291" . "cmNl"), "use" . "r_i" . "d" => base64_decode("dXNl" . "cl9p" . "ZA=="), "_543947783" . "5f9c7cc26a" . "988f88cb19" . "553" => base64_decode("cHJldl9mdW" . "xsX25hbWU="), "_539cf425" . "9a149ca9d" . "bb739b2cd" . "b7c608" => base64_decode("ZW1haWxfYWR" . "kcmVzcw=="));
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["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["contex" . "t"]) ? $this->getArgument($GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["co" . "nt" . "ex" . "t"]) : null;
    }
    
    
    
    
    
    
    public function GetUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["us" . "er" . "_i" . "d"]);
    }
    
    
    
    
    public function GetFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_8cca4dd34e20c5344bb2a" . "30f2533c4e5"]);
    }
    
    
    
    
    public function GetUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_28c85ce81fee6532980262893b6f242" . "5"]);
    }
    
    
    
    
    public function GetEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_539cf4259a149ca9dbb739b2cdb7c6" . "08"]);
    }
    
    
    
    
    public function GetPrevUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_dd45fa0d6586a" . "b8e73f6f6f116b" . "1a970"]);
    }
    
    
    
    
    public function GetPrevFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_5439477835f9c7cc26a988" . "f88cb19553"]);
    }
    
    
    
    
    public function GetPrevUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_b070ffda70d673b" . "aa2ab1a4ca13c254" . "c"]);
    }
    
    
    
    
    public function GetPrevEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_eb6cb4623735c071" . "95e93735d659236d"]);
    }
    
    
    
    
    
    
    
    
    public function GetEventSource()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_baec81a782bb3d53" . "8149a9225688246e"]);
    }
    
    
    
    
    
    
    public function SetErrorMessage($error_message)
    {
        $this->error_message = $error_message;
    }
    
    
    
    
    
    
    public function GetErrorMessage()
    {
        return $this->error_message;
    }
}