<?php
namespace Claromentis\People\Event;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"] = (@$GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"] ?: array()) + array("_eb6cb4623" . "735c07195e" . "93735d6592" . "36d" => base64_decode("cHJldl9lbWFpbF9hZGRyZX" . "Nz"), "_28c85ce81fee653" . "2980262893b6f242" . "5" => base64_decode("dXNlcm5hbW" . "U="), "conte" . "xt" => base64_decode("Y29" . "udG" . "V4d" . "A=="), "_539cf4259a149ca9dbb739b2c" . "db7c608" => base64_decode("ZW1haWxfYWRkcmVzcw=" . "="), "_8cca4dd34e2" . "0c5344bb2a30" . "f2533c4e5" => base64_decode("ZnVs" . "bF9u" . "YW1l"), "us" . "er" . "_i" . "d" => base64_decode("dXNlcl9" . "pZA=="), "_b070ffda70d6" . "73baa2ab1a4ca" . "13c254c" => base64_decode("cHJldl91c2VybmFtZQ=" . "="), "_dd45fa0d6586a" . "b8e73f6f6f116b" . "1a970" => base64_decode("cHJldl91" . "c2VyX2lk"), "_baec81a7" . "82bb3d538" . "149a92256" . "88246e" => base64_decode("ZXZlbnRfc291cmN" . "l"), "_5439477835f9c7cc26a988f88cb1955" . "3" => base64_decode("cHJld" . "l9mdW" . "xsX25" . "hbWU="));
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["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["contex" . "t"]) ? $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["con" . "tex" . "t"]) : null;
    }
    
    
    
    
    
    
    public function GetUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["user_i" . "d"]);
    }
    
    
    
    
    public function GetFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_8cca4dd34e20c5344bb2a30f2533c" . "4e5"]);
    }
    
    
    
    
    public function GetUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_28c85ce81fee6532980262893b6f242" . "5"]);
    }
    
    
    
    
    public function GetEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_539cf4259a149ca" . "9dbb739b2cdb7c60" . "8"]);
    }
    
    
    
    
    public function GetPrevUserId()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_dd45fa0d6586" . "ab8e73f6f6f11" . "6b1a970"]);
    }
    
    
    
    
    public function GetPrevFullName()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_54394778" . "35f9c7cc2" . "6a988f88c" . "b19553"]);
    }
    
    
    
    
    public function GetPrevUsername()
    {
        return $this->getArgument($GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_b070ffda" . "70d673baa" . "2ab1a4ca1" . "3c254c"]);
    }
    
    
    
    
    public function GetPrevEmailAddress()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_eb6cb4623735c07195" . "e93735d659236d"]);
    }
    
    
    
    
    
    
    
    
    public function GetEventSource()
    {
        return $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_baec81a782bb" . "3d538149a9225" . "688246e"]);
    }
    
    
    
    
    
    
    public function SetErrorMessage($error_message)
    {
        $this->error_message = $error_message;
    }
    
    
    
    
    
    
    public function GetErrorMessage()
    {
        return $this->error_message;
    }
}