Zend\Mail\Protocol\Imap::readResponse
read all lines of response until given tag is found (last line of response)
Signature
public function readResponse(string
$tag,
[bool
$dontParse = false] )
Parameters
$tag
— string- the tag of your request
$dontParse
— object- if true every line is returned unparsed instead of
the decoded tokens
Returns
- null|bool|array
- tokens if success, false if error, null if bad request