GenerateLandingPageFromUserPrompt
in package
Table of Contents
Properties
- $createLandingPagePrompt : CreateLandingPagePrompt
- $cursorAgentAction : CursorAgentAction
- $landingPageCopyPrompt : LandingPageCopyPrompt
- $prompt : Prompt
Methods
- __construct() : mixed
- buildWithCursorAgent() : GenerateLandingPageFromUserPromptResponse
- call() : GenerateLandingPageFromUserPromptResponse
Properties
$createLandingPagePrompt
private
CreateLandingPagePrompt
$createLandingPagePrompt
$cursorAgentAction
private
CursorAgentAction
$cursorAgentAction
$landingPageCopyPrompt
private
LandingPageCopyPrompt
$landingPageCopyPrompt
$prompt
private
Prompt
$prompt
Methods
__construct()
public
__construct(Prompt $prompt, LandingPageCopyPrompt $landingPageCopyPrompt, CreateLandingPagePrompt $createLandingPagePrompt, CursorAgentAction $cursorAgentAction) : mixed
Parameters
- $prompt : Prompt
- $landingPageCopyPrompt : LandingPageCopyPrompt
- $createLandingPagePrompt : CreateLandingPagePrompt
- $cursorAgentAction : CursorAgentAction
buildWithCursorAgent()
public
buildWithCursorAgent(mixed $userPrompt, callable|null $onMilestoneHit[, bool $isNew = false ][, string|null $designImagePath = null ]) : GenerateLandingPageFromUserPromptResponse
Parameters
- $userPrompt : mixed
- $onMilestoneHit : callable|null
- $isNew : bool = false
- $designImagePath : string|null = null
Return values
GenerateLandingPageFromUserPromptResponsecall()
public
call(mixed $userPrompt, callable|null $onMilestoneHit[, bool $isNew = false ][, string|null $designImagePath = null ]) : GenerateLandingPageFromUserPromptResponse
Parameters
- $userPrompt : mixed
- $onMilestoneHit : callable|null
- $isNew : bool = false
- $designImagePath : string|null = null