generated from Nodarx/template
a8764747fd
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
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";
|
|
}
|
|
} |