original_string: public function writeLines(array $messages)
      {
          if (!$this->writer) {
              throw new \Parable\Log\Exception("Can't writeLines without a valid \Log\Writer instance set.");
          }
          foreach ($messages as $message) {
              $this->write($message);
          }
          return $this;
      }
code: public function writeLines(array $messages)
      {
          if (!$this->writer) {
              throw new \Parable\Log\Exception("Can't writeLines without a valid \Log\Writer instance set.");
          }
          foreach ($messages as $message) {
              $this->write($message);
          }
          return $this;
      }
code_tokens: public function writeLines ( array $ messages ) { if ( ! $ this -> writer ) { throw new \ Parable \ Log \ Exception ( "Can't writeLines without a valid \Log\Writer instance set." ) ; } foreach ( $ messages as $ message ) { $ this -> write ( $ message ) ; } return $ this ; }
docstring: Write an array of messages to the log writer.
  
  @param array $messages
  
  @return $this
  @throws \Parable\Log\Exception
docstring_tokens: Write an array of messages to the log writer .