<?php
namespace Claromentis\People\Event;

$GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"] ?: array()) + array("_eb6cb462" . "3735c0719" . "5e93735d6" . "59236d" => base64_decode("cHJldl9lbWF" . "pbF9hZGRyZX" . "Nz"), "_baec81a782bb3d538149a92256882" . "46e" => base64_decode("ZXZlbnRfc291cmN" . "l"), "_28c85ce81fe" . "e65329802628" . "93b6f2425" => base64_decode("dXNlcm" . "5hbWU="), "con" . "tex" . "t" => base64_decode("Y29udG" . "V4dA=="), "_539cf4259a149ca" . "9dbb739b2cdb7c60" . "8" => base64_decode("ZW1haWxfYWRkcmVz" . "cw=="), "_8cca4dd34e20c5344bb2a30f253" . "3c4e5" => base64_decode("ZnVsbF9uYW" . "1l"), "user_i" . "d" => base64_decode("dXNlcl9" . "pZA=="), "_b070ffda70d6" . "73baa2ab1a4ca" . "13c254c" => base64_decode("cHJldl91c2" . "VybmFtZQ=="), "_5439477835f9c7" . "cc26a988f88cb19" . "553" => base64_decode("cHJldl" . "9mdWxs" . "X25hbW" . "U="), "_dd45fa0d6586ab8e73" . "f6f6f116b1a970" => base64_decode("cHJldl91c" . "2VyX2lk"));
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["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["co" . "nt" . "ex" . "t"]) ? $this->getArgument($GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["co" . "nt" . "ex" . "t"]) : null;
    }
    
    
    
    
    
    
    public function GetUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["user" . "_id"]);
    }
    
    
    
    
    public function GetFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_8cca4dd34e20c5344bb2a30f2533" . "c4e5"]);
    }
    
    
    
    
    public function GetUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_28c85ce81fee6532980262893b6f242" . "5"]);
    }
    
    
    
    
    public function GetEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_539cf4259a149ca9dbb739" . "b2cdb7c608"]);
    }
    
    
    
    
    public function GetPrevUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_dd45fa0d6586ab8e73f6f6f116b" . "1a970"]);
    }
    
    
    
    
    public function GetPrevFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_5439477835f" . "9c7cc26a988f" . "88cb19553"]);
    }
    
    
    
    
    public function GetPrevUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_b070ffda" . "70d673baa" . "2ab1a4ca1" . "3c254c"]);
    }
    
    
    
    
    public function GetPrevEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_eb6cb462373" . "5c07195e9373" . "5d659236d"]);
    }
    
    
    
    
    
    
    
    
    public function GetEventSource()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_baec81a782bb3d538149a92256882" . "46e"]);
    }
    
    
    
    
    
    
    public function SetErrorMessage($error_message)
    {
        $this->error_message = $error_message;
    }
    
    
    
    
    
    
    public function GetErrorMessage()
    {
        return $this->error_message;
    }
}