generated from Nodarx/template
22 lines
403 B
PHP
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";
|
|
}
|
|
} |