original_string: public function extractMessages(array $log = null)
      {
          if (true === empty($log)) {
              return array();
          }
  
          $this->extractor->setMessageGroups($this->config['message_groups']);
  
          return $this->extractor->setLog($log)
              ->extract();
      }
code: public function extractMessages(array $log = null)
      {
          if (true === empty($log)) {
              return array();
          }
  
          $this->extractor->setMessageGroups($this->config['message_groups']);
  
          return $this->extractor->setLog($log)
              ->extract();
      }
code_tokens: public function extractMessages ( array $ log = null ) { if ( true === empty ( $ log ) ) { return array ( ) ; } $ this -> extractor -> setMessageGroups ( $ this -> config [ 'message_groups' ] ) ; return $ this -> extractor -> setLog ( $ log ) -> extract ( ) ; }
docstring: Returns messages extracted from the log.
  
  @param array $log
  @return array
docstring_tokens: Returns messages extracted from the log .