Retrieves a list of mailboxes from the server.
public listFolders ( ) : array | ||
return | array | The list of mailboxes. |
/** * Retrieves a list of mailboxes from the server. * * @return array The list of mailboxes. */ public function listFolders() { $this->_timer->push(); $result = parent::listFolders(); $this->_logger->debug(sprintf('REQUEST OUT IMAP: %s ms [listFolders]', floor($this->_timer->pop() * 1000))); return $result; }
/** * Retrieves a list of mailboxes from the server. * * @return array The list of mailboxes. */ public function listFolders() { $this->_logger->debug(sprintf('Driver "%s": Listing folders.', $this->getDriverName())); $result = parent::listFolders(); $this->_logger->debug(sprintf('Driver "%s": List contained %s folders.', $this->getDriverName(), count($result))); return $result; }