Revert "Add new optional beta email parser thats based on ImapEngine instead of Webklex"

This reverts commit 9cb1ff7330.
This commit is contained in:
johnnyq
2026-02-26 16:44:49 -05:00
parent ac4bb32081
commit 92fba49a91
682 changed files with 8 additions and 101834 deletions

View File

@@ -1,41 +0,0 @@
<?php
namespace DirectoryTree\ImapEngine\Connection;
use DirectoryTree\ImapEngine\Collections\ResponseCollection;
use DirectoryTree\ImapEngine\Connection\Responses\Response;
class Result
{
/**
* Constructor.
*/
public function __construct(
protected ImapCommand $command,
protected array $responses = [],
) {}
/**
* Get the executed command.
*/
public function command(): ImapCommand
{
return $this->command;
}
/**
* Add a response to the result.
*/
public function addResponse(Response $response): void
{
$this->responses[] = $response;
}
/**
* Get the recently received responses.
*/
public function responses(): ResponseCollection
{
return new ResponseCollection($this->responses);
}
}