<?php
namespace Claromentis\People\Event;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"] ?: array()) + array("_b070ffda70d673baa2ab1a4c" . "a13c254c" => base64_decode("cHJldl" . "91c2Vy" . "bmFtZQ" . "=="), "user_i" . "d" => base64_decode("dXNlcl" . "9pZA=="), "_8cca4dd34e20c53" . "44bb2a30f2533c4e" . "5" => base64_decode("ZnVsb" . "F9uYW" . "1l"), "_5439477835f9c7cc26a988f88cb1955" . "3" => base64_decode("cHJldl9mdWxsX25h" . "bWU="), "_539cf4259a149ca9dbb739b" . "2cdb7c608" => base64_decode("ZW1haWx" . "fYWRkcm" . "Vzcw=="), "_28c85ce81fee6532" . "980262893b6f2425" => base64_decode("dXNlc" . "m5hbW" . "U="), "conte" . "xt" => base64_decode("Y29udGV4dA" . "=="), "_baec81a782bb3d5381" . "49a9225688246e" => base64_decode("ZXZlbnR" . "fc291cm" . "Nl"), "_eb6cb4623735c0" . "7195e93735d6592" . "36d" => base64_decode("cHJldl9lbWFp" . "bF9hZGRyZXNz"), "_dd45fa0d6586ab8e7" . "3f6f6f116b1a970" => base64_decode("cHJldl9" . "1c2VyX2" . "lk"));
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["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["con" . "tex" . "t"]) ? $this->getArgument($GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["con" . "tex" . "t"]) : null;
    }
    
    
    
    
    
    
    public function GetUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["us" . "er" . "_i" . "d"]);
    }
    
    
    
    
    public function GetFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_8cca4dd3" . "4e20c5344" . "bb2a30f25" . "33c4e5"]);
    }
    
    
    
    
    public function GetUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_28c85ce81fee6532980262893b" . "6f2425"]);
    }
    
    
    
    
    public function GetEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_539cf4259a149ca9db" . "b739b2cdb7c608"]);
    }
    
    
    
    
    public function GetPrevUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_dd45fa0d6586ab8e73f6f6f116b1a" . "970"]);
    }
    
    
    
    
    public function GetPrevFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_5439477835f9c7cc26a988f88cb195" . "53"]);
    }
    
    
    
    
    public function GetPrevUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_b070ffda70d673b" . "aa2ab1a4ca13c254" . "c"]);
    }
    
    
    
    
    public function GetPrevEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_eb6cb462373" . "5c07195e9373" . "5d659236d"]);
    }
    
    
    
    
    
    
    
    
    public function GetEventSource()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_baec81a78" . "2bb3d53814" . "9a92256882" . "46e"]);
    }
    
    
    
    
    
    
    public function SetErrorMessage($error_message)
    {
        $this->error_message = $error_message;
    }
    
    
    
    
    
    
    public function GetErrorMessage()
    {
        return $this->error_message;
    }
}