code: public function parseAll($message)
      {
          $tail = $message;
          $messages = array();
          do {
              $parsed = $this->parse($tail);
              if ($parsed === null) {
                  break;
              }
              $messages[] = $parsed;
              $tail = empty($parsed['tail']) ? null : $parsed['tail'];
          } while ($tail !== null);
          return $messages;
      }
docs: Implements ParserInterface::parseAll().
  
  @param string $message String containing the message to parse
  @return array Enumerated array of associative arrays each containing
  parsed data for a single message if any messages are
  successfully parsed, an empty array otherwise
  @see \Phergie\Irc\ParserInterface::parseAll()