src/Application/Payment/Command/PendingPayment/PendingPaymentCommand.php line 10

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Application\Payment\Command\PendingPayment;
  4. use App\Infrastructure\Shared\Bus\Command\CommandInterface;
  5. use Symfony\Component\Validator\Constraints as Assert;
  6. class PendingPaymentCommand implements CommandInterface
  7. {
  8.     public function __construct(
  9.         #[Assert\Uuid]
  10.         public readonly string $id
  11.     ) {
  12.     }
  13. }