public function csv()
    {
        $ext = '.' . strtolower($this->csvWriter);

        return $this->buildExcelFile()->download($this->getFilename() . $ext, $this->csvWriter);
    }
public function csv()
    {
        $ext = '.' . strtolower($this->csvWriter);

        return $this->buildExcelFile()->download($this->getFilename() . $ext, $this->csvWriter);
    }
public function csv ( ) { $ ext = '.' . strtolower ( $ this -> csvWriter ) ; return $ this -> buildExcelFile ( ) -> download ( $ this -> getFilename ( ) . $ ext , $ this -> csvWriter ) ; }
Export results to CSV file.

@return mixed
Export results to CSV file .