original_string: public function resolve($driver)
      {
          if ($driver instanceof Grid\Exporters\AbstractExporter) {
              return $driver->setGrid($this->grid);
          }
  
          return $this->getExporter($driver);
      }
code: public function resolve($driver)
      {
          if ($driver instanceof Grid\Exporters\AbstractExporter) {
              return $driver->setGrid($this->grid);
          }
  
          return $this->getExporter($driver);
      }
code_tokens: public function resolve ( $ driver ) { if ( $ driver instanceof Grid \ Exporters \ AbstractExporter ) { return $ driver -> setGrid ( $ this -> grid ) ; } return $ this -> getExporter ( $ driver ) ; }
docstring: Resolve export driver.
  
  @param string $driver
  
  @return CsvExporter
docstring_tokens: Resolve export driver .