GenerateAIContentJob
implements
ShouldQueue
uses
Queueable, InteractsWithQueue, SerializesModels, Batchable
Table of Contents
Interfaces
- ShouldQueue
Properties
-
$saveToCacheKey
: string
-
$ttl
: Carbon|null
-
$userPrompt
: string
Methods
-
__construct()
: mixed
-
getResult()
: mixed
-
handle()
: mixed
$saveToCacheKey
public
string
$saveToCacheKey
$ttl
public
Carbon|null
$ttl
= null
$userPrompt
public
string
$userPrompt
__construct()
public
__construct(string $userPrompt, string $saveToCacheKey[, Carbon|null $ttl = null ]) : mixed
Parameters
-
$userPrompt
: string
-
-
$saveToCacheKey
: string
-
-
$ttl
: Carbon|null
= null
-
getResult()
public
getResult() : mixed
handle()
public
handle(Prompt $prompt) : mixed
Parameters
-
$prompt
: Prompt
-