Code Duplication    Length = 12-12 lines in 2 locations

src/DataGrid.php 2 locations

@@ 1819-1830 (lines=12) @@
1816
	 * @param bool $include_bom
1817
	 * @return Export\Export
1818
	 */
1819
	public function addExportCsv($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1820
	{
1821
		return $this->addToExports(new Export\ExportCsv(
1822
			$this,
1823
			$text,
1824
			$csv_file_name,
1825
			FALSE,
1826
			$output_encoding,
1827
			$delimiter,
1828
			$include_bom
1829
		));
1830
	}
1831
1832
1833
	/**
@@ 1842-1853 (lines=12) @@
1839
	 * @param bool $include_bom
1840
	 * @return Export\Export
1841
	 */
1842
	public function addExportCsvFiltered($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1843
	{
1844
		return $this->addToExports(new Export\ExportCsv(
1845
			$this,
1846
			$text,
1847
			$csv_file_name,
1848
			TRUE,
1849
			$output_encoding,
1850
			$delimiter,
1851
			$include_bom
1852
		));
1853
	}
1854
1855
1856
	/**