You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
264 B
PHTML
14 lines
264 B
PHTML
|
2 weeks ago
|
<?php
|
||
|
|
|
||
|
|
namespace App\Services\Ticket;
|
||
|
|
|
||
|
|
final readonly class TicketReadCommand
|
||
|
|
{
|
||
|
|
public function __construct(public int $ticketId)
|
||
|
|
{
|
||
|
|
if ($this->ticketId < 1) {
|
||
|
|
throw new \InvalidArgumentException('工单编号无效');
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|