Files
provider_imap/lib/Client/Protocol/RequestFrame.php
2026-05-08 00:16:43 -04:00

22 lines
403 B
PHP

<?php
declare(strict_types=1);
namespace KTXM\ProviderImap\Client\Protocol;
final class RequestFrame
{
public function __construct(
private readonly string $commandLine,
) {}
public function commandLine(): string
{
return $this->commandLine;
}
public function toWire(string $tag): string
{
return $tag . ' ' . $this->commandLine . "\r\n";
}
}