PromptVault/app/Actions/Prompts/UpdatePrompt.php

22 lines
392 B
PHP
Raw Normal View History

2026-10-26 20:12:16 +00:00
<?php
namespace App\Actions\Prompts;
/**
* Command DTO: update an existing prompt.
*
* @readonly
*/
final class UpdatePrompt
{
/**
* @param list<string> $tags
*/
public function __construct(
public readonly string $name,
public readonly ?string $description,
public readonly string $body,
public readonly array $tags = [],
) {}
}