<?php
namespace Claromentis\Core\Ai\Events;

$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"] = (@$GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"] ?: array()) + array("cont" . "ext" => base64_decode("Y29udG" . "V4dA=="));
use Claromentis\Core\Ai\Entity\AiChatHistory;
use Symfony\Component\EventDispatcher\GenericEvent;
use Claromentis\Core\Security\SecurityContext;
abstract class AbstractAiChatHistoryEvent extends GenericEvent
{
    
    
    
    
    
    public function __construct(AiChatHistory $_a82e7c9cba13670954fbe01d604c242a, SecurityContext $context)
    {
        parent::__construct($_a82e7c9cba13670954fbe01d604c242a, [$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["conte" . "xt"] => $context]);
    }
    
    
    
    
    public function getHistory() : AiChatHistory
    {
        return $this->subject;
    }
    
    
    
    
    public function GetContext() : ?SecurityContext
    {
        return $this->hasArgument($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["co" . "nt" . "ex" . "t"]) ? $this->getArgument($GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["cont" . "ext"]) : null;
    }
    public function setHistoryPart(AiChatHistory $_a82e7c9cba13670954fbe01d604c242a)
    {
        $this->subject = $_a82e7c9cba13670954fbe01d604c242a;
    }
}