original_string: public function capability()
      {
          $response = $this->requestAndResponse('CAPABILITY');
  
          if (!$response) {
              return $response;
          }
  
          $capabilities = array();
          foreach ($response as $line) {
              $capabilities = array_merge($capabilities, $line);
          }
          return $capabilities;
      }
code: public function capability()
      {
          $response = $this->requestAndResponse('CAPABILITY');
  
          if (!$response) {
              return $response;
          }
  
          $capabilities = array();
          foreach ($response as $line) {
              $capabilities = array_merge($capabilities, $line);
          }
          return $capabilities;
      }
code_tokens: public function capability ( ) { $ response = $ this -> requestAndResponse ( 'CAPABILITY' ) ; if ( ! $ response ) { return $ response ; } $ capabilities = array ( ) ; foreach ( $ response as $ line ) { $ capabilities = array_merge ( $ capabilities , $ line ) ; } return $ capabilities ; }
docstring: Get capabilities from IMAP server
  
  @return array list of capabilities
  @throws Zend_Mail_Protocol_Exception
docstring_tokens: Get capabilities from IMAP server