generated from Nodarx/template
1ce2013c07
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
26 lines
476 B
PHP
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;
|
|
}
|
|
} |