public function resolve($driver)
    {
        if ($driver instanceof Grid\Exporters\AbstractExporter) {
            return $driver->setGrid($this->grid);
        }

        return $this->getExporter($driver);
    }
public function resolve($driver)
    {
        if ($driver instanceof Grid\Exporters\AbstractExporter) {
            return $driver->setGrid($this->grid);
        }

        return $this->getExporter($driver);
    }
public function resolve ( $ driver ) { if ( $ driver instanceof Grid \ Exporters \ AbstractExporter ) { return $ driver -> setGrid ( $ this -> grid ) ; } return $ this -> getExporter ( $ driver ) ; }
Resolve export driver.

@param string $driver

@return CsvExporter
Resolve export driver .