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

$GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"] = (@$GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"] ?: array()) + array("cont" . "ext" => base64_decode("Y29udGV4" . "dA=="));
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["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["cont" . "ext"] => $context]);
    }
    
    
    
    
    public function getHistory() : AiChatHistory
    {
        return $this->subject;
    }
    
    
    
    
    public function GetContext() : ?SecurityContext
    {
        return $this->hasArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["cont" . "ext"]) ? $this->getArgument($GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["contex" . "t"]) : null;
    }
    public function setHistoryPart(AiChatHistory $_a82e7c9cba13670954fbe01d604c242a)
    {
        $this->subject = $_a82e7c9cba13670954fbe01d604c242a;
    }
}