protected function getExporter($driver)
    {
        if (!array_key_exists($driver, static::$drivers)) {
            return $this->getDefaultExporter();
        }

        return new static::$drivers[$driver]($this->grid);
    }
protected function getExporter($driver)
    {
        if (!array_key_exists($driver, static::$drivers)) {
            return $this->getDefaultExporter();
        }

        return new static::$drivers[$driver]($this->grid);
    }
protected function getExporter ( $ driver ) { if ( ! array_key_exists ( $ driver , static :: $ drivers ) ) { return $ this -> getDefaultExporter ( ) ; } return new static :: $ drivers [ $ driver ] ( $ this -> grid ) ; }
Get export driver.

@param string $driver

@return CsvExporter
Get export driver .