22 lines
392 B
PHP
22 lines
392 B
PHP
<?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 = [],
|
|
) {}
|
|
}
|