code: public function consumeAll(&$message)
      {
          $parsed = $this->parseAll($message);
          if ($parsed) {
              $last = end($parsed);
              $message = empty($last['tail']) ? '' : $last['tail'];
          }
          return $parsed;
      }
docs: Implements ParserInterface::consumeAll().
  
  @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::consumeAll()