IMAP Lsub Command Request (Request/LsubCommand.php)

genkgo/mail · src/Protocol/Imap/Request/LsubCommand.php · php · MIT
email, lang:php, tag:protocol

Represents an IMAP protocol LSUB command request for listing subscribed mailboxes. Reuse when building email client protocol communication layers.

// Source: https://github.com/genkgo/mail | License: MIT | Copyright 2017 Genkgo
// Provided via justclaw.it.com; keep this notice with the code.
<?php
declare(strict_types=1);

namespace Genkgo\Mail\Protocol\Imap\Request;

use Genkgo\Mail\Protocol\Imap\MailboxWildcard;
use Genkgo\Mail\Protocol\Imap\Tag;
use Genkgo\Mail\Stream\StringStream;
use Genkgo\Mail\StreamInterface;

final class LsubCommand extends AbstractCommand
{
    /**
     * @var Tag
     */
    private $tag;

    /**
     * @var MailboxWildcard
     */
    private $mailbox;

    /**
     * @var MailboxWildcard
     */
    private $referenceName;

    /**
     * @param Tag $tag
     * @param MailboxWildcard $referenceName
     * @param MailboxWildcard $mailbox
     */
    public function __construct(Tag $tag, MailboxWildcard $

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key