original_string: public function write($message, $newline = false, $type = 0)
      {
          $messages = (array) $message;
  
          if ($this->getLogger()) {
              foreach ($messages as $message) {
                  $this->getLogger()->info($this->getFormatter()->format(strip_tags($message)));
              }
          }
  
          parent::write($messages, $newline, $type);
      }
code: public function write($message, $newline = false, $type = 0)
      {
          $messages = (array) $message;
  
          if ($this->getLogger()) {
              foreach ($messages as $message) {
                  $this->getLogger()->info($this->getFormatter()->format(strip_tags($message)));
              }
          }
  
          parent::write($messages, $newline, $type);
      }
code_tokens: public function write ( $ message , $ newline = false , $ type = 0 ) { $ messages = ( array ) $ message ; if ( $ this -> getLogger ( ) ) { foreach ( $ messages as $ message ) { $ this -> getLogger ( ) -> info ( $ this -> getFormatter ( ) -> format ( strip_tags ( $ message ) ) ) ; } } parent :: write ( $ messages , $ newline , $ type ) ; }
docstring: Write an entry to the console and to the provided logger.
  
  @param array|string $message
  @param bool         $newline
  @param int          $type
  
  @return void
docstring_tokens: Write an entry to the console and to the provided logger .