original_string: protected function getExporter($driver)
      {
          if (!array_key_exists($driver, static::$drivers)) {
              return $this->getDefaultExporter();
          }
  
          return new static::$drivers[$driver]($this->grid);
      }
code: protected function getExporter($driver)
      {
          if (!array_key_exists($driver, static::$drivers)) {
              return $this->getDefaultExporter();
          }
  
          return new static::$drivers[$driver]($this->grid);
      }
code_tokens: protected function getExporter ( $ driver ) { if ( ! array_key_exists ( $ driver , static :: $ drivers ) ) { return $ this -> getDefaultExporter ( ) ; } return new static :: $ drivers [ $ driver ] ( $ this -> grid ) ; }
docstring: Get export driver.
  
  @param string $driver
  
  @return CsvExporter
docstring_tokens: Get export driver .