original_string: protected function get_mailbox() {
          // Get the current mailbox.
          $mailbox = $this->client->currentMailbox();
  
          if (isset($mailbox['mailbox'])) {
              return $mailbox['mailbox'];
          } else {
              throw new \core\message\inbound\processing_failed_exception('couldnotopenmailbox', 'tool_messageinbound');
          }
      }
code: protected function get_mailbox() {
          // Get the current mailbox.
          $mailbox = $this->client->currentMailbox();
  
          if (isset($mailbox['mailbox'])) {
              return $mailbox['mailbox'];
          } else {
              throw new \core\message\inbound\processing_failed_exception('couldnotopenmailbox', 'tool_messageinbound');
          }
      }
code_tokens: protected function get_mailbox ( ) { // Get the current mailbox. $ mailbox = $ this -> client -> currentMailbox ( ) ; if ( isset ( $ mailbox [ 'mailbox' ] ) ) { return $ mailbox [ 'mailbox' ] ; } else { throw new \ core \ message \ inbound \ processing_failed_exception ( 'couldnotopenmailbox' , 'tool_messageinbound' ) ; } }
docstring: Get the current mailbox information.
  
  @return \Horde_Imap_Client_Mailbox
  @throws \core\message\inbound\processing_failed_exception if the mailbox could not be opened.
docstring_tokens: Get the current mailbox information .