• File: ImapResourceInterface.php
  • Full Path: /var/www/crm_set/application/vendor/ddeboer/imap/src/ImapResourceInterface.php
  • Date Modified: 09/21/2026 4:20 AM
  • File size: 418 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

declare(strict_types=1);

namespace Ddeboer\Imap;

use Ddeboer\Imap\Exception\InvalidResourceException;

interface ImapResourceInterface
{
    /**
     * Get IMAP resource stream.
     *
     * @throws InvalidResourceException
     *
     * @return resource
     */
    public function getStream();

    /**
     * Clear last mailbox used cache.
     */
    public function clearLastMailboxUsedCache(): void;
}