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

$GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"] ?: array()) + array("contex" . "t" => base64_decode("Y29udGV4dA" . "=="));
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["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["con" . "tex" . "t"] => $context]);
    }
    
    
    
    
    public function getHistory() : AiChatHistory
    {
        return $this->subject;
    }
    
    
    
    
    public function GetContext() : ?SecurityContext
    {
        return $this->hasArgument($GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["contex" . "t"]) ? $this->getArgument($GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["cont" . "ext"]) : null;
    }
    public function setHistoryPart(AiChatHistory $_a82e7c9cba13670954fbe01d604c242a)
    {
        $this->subject = $_a82e7c9cba13670954fbe01d604c242a;
    }
}