generated from Nodarx/template
refactor: use custom imap client
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
16
lib/Client/IdentifierMode.php
Normal file
16
lib/Client/IdentifierMode.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace KTXM\ProviderImap\Client;
|
||||
|
||||
enum IdentifierMode
|
||||
{
|
||||
case Sequence;
|
||||
case Uid;
|
||||
|
||||
public function toCommand(): string
|
||||
{
|
||||
return $this === self::Uid ? 'UID FETCH' : 'FETCH';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user