ImapCommand
class ImapCommand implements Stringable (View source)
Properties
| protected string[] | $compiled | The compiled command lines. |
Methods
__construct(string $tag, string $command, array $tokens = [])
Constructor.
string
tag()
Get the IMAP tag.
string
command()
Get the IMAP command.
array
tokens()
Get the IMAP tokens.
array
compile()
Compile the command into lines for transmission.
redacted()
Get a redacted version of the command for safe exposure.
string
__toString()
Get the command as a string.
Details
__construct(string $tag, string $command, array $tokens = [])
Constructor.
string
tag()
Get the IMAP tag.
string
command()
Get the IMAP command.
array
tokens()
Get the IMAP tokens.
array
compile()
Compile the command into lines for transmission.
ImapCommand
redacted()
Get a redacted version of the command for safe exposure.
string
__toString()
Get the command as a string.