Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1294 lars 1
<?php
2
 
3
namespace Spatie\Ignition\Solutions\OpenAi;
4
 
5
class OpenAiPromptViewModel
6
{
7
    public function __construct(
8
        protected string $file,
9
        protected string $exceptionMessage,
10
        protected string $exceptionClass,
11
        protected string $snippet,
12
        protected string $line,
13
        protected string|null $applicationType = null,
14
    ) {
15
    }
16
 
17
    public function file(): string
18
    {
19
        return $this->file;
20
    }
21
 
22
    public function line(): string
23
    {
24
        return $this->line;
25
    }
26
 
27
    public function snippet(): string
28
    {
29
        return $this->snippet;
30
    }
31
 
32
    public function exceptionMessage(): string
33
    {
34
        return $this->exceptionMessage;
35
    }
36
 
37
    public function exceptionClass(): string
38
    {
39
        return $this->exceptionClass;
40
    }
41
 
42
    public function applicationType(): string|null
43
    {
44
        return $this->applicationType;
45
    }
46
}