Files
provider_imap/lib/Client/Result/CommandCompletion.php
T
Sebastian 1ce2013c07 refactor: CommandStatusResult
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-09-25 12:06:46 -04:00

26 lines
476 B
PHP

<?php
declare(strict_types=1);
namespace KTXM\ProviderImap\Client\Result;
/**
* Successful command output; unsuccessful completion is reported by exception.
*/
final class CommandCompletion
{
public function __construct(
private readonly string $status,
private readonly string $text,
) {}
public function status(): string
{
return $this->status;
}
public function text(): string
{
return $this->text;
}
}