Code Duplication    Length = 12-12 lines in 2 locations

src/DataGrid.php 2 locations

@@ 1887-1898 (lines=12) @@
1884
	 * @param bool $include_bom
1885
	 * @return Export\Export
1886
	 */
1887
	public function addExportCsv($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1888
	{
1889
		return $this->addToExports(new Export\ExportCsv(
1890
			$this,
1891
			$text,
1892
			$csv_file_name,
1893
			FALSE,
1894
			$output_encoding,
1895
			$delimiter,
1896
			$include_bom
1897
		));
1898
	}
1899
1900
1901
	/**
@@ 1910-1921 (lines=12) @@
1907
	 * @param bool $include_bom
1908
	 * @return Export\Export
1909
	 */
1910
	public function addExportCsvFiltered($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1911
	{
1912
		return $this->addToExports(new Export\ExportCsv(
1913
			$this,
1914
			$text,
1915
			$csv_file_name,
1916
			TRUE,
1917
			$output_encoding,
1918
			$delimiter,
1919
			$include_bom
1920
		));
1921
	}
1922
1923
1924
	/**