File "OpenAiPromptViewModel.php"

Full Path: /home/clickysoft/public_html/jmapi5.clickysoft.net/vendor/spatie/ignition/src/Solutions/OpenAi/OpenAiPromptViewModel.php
File size: 904 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace Spatie\Ignition\Solutions\OpenAi;

class OpenAiPromptViewModel
{
    public function __construct(
        protected string $file,
        protected string $exceptionMessage,
        protected string $exceptionClass,
        protected string $snippet,
        protected string $line,
        protected string|null $applicationType = null,
    ) {
    }

    public function file(): string
    {
        return $this->file;
    }

    public function line(): string
    {
        return $this->line;
    }

    public function snippet(): string
    {
        return $this->snippet;
    }

    public function exceptionMessage(): string
    {
        return $this->exceptionMessage;
    }

    public function exceptionClass(): string
    {
        return $this->exceptionClass;
    }

    public function applicationType(): string|null
    {
        return $this->applicationType;
    }
}