Code Duplication    Length = 12-12 lines in 2 locations

src/DataGrid.php 2 locations

@@ 1849-1860 (lines=12) @@
1846
	 * @param bool $include_bom
1847
	 * @return Export\Export
1848
	 */
1849
	public function addExportCsv($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1850
	{
1851
		return $this->addToExports(new Export\ExportCsv(
1852
			$this,
1853
			$text,
1854
			$csv_file_name,
1855
			FALSE,
1856
			$output_encoding,
1857
			$delimiter,
1858
			$include_bom
1859
		));
1860
	}
1861
1862
1863
	/**
@@ 1872-1883 (lines=12) @@
1869
	 * @param bool $include_bom
1870
	 * @return Export\Export
1871
	 */
1872
	public function addExportCsvFiltered($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1873
	{
1874
		return $this->addToExports(new Export\ExportCsv(
1875
			$this,
1876
			$text,
1877
			$csv_file_name,
1878
			TRUE,
1879
			$output_encoding,
1880
			$delimiter,
1881
			$include_bom
1882
		));
1883
	}
1884
1885
1886
	/**