Code Duplication    Length = 12-12 lines in 2 locations

src/DataGrid.php 2 locations

@@ 1777-1788 (lines=12) @@
1774
	 * @param bool $include_bom
1775
	 * @return Export\Export
1776
	 */
1777
	public function addExportCsv($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1778
	{
1779
		return $this->addToExports(new Export\ExportCsv(
1780
			$this,
1781
			$text,
1782
			$csv_file_name,
1783
			FALSE,
1784
			$output_encoding,
1785
			$delimiter,
1786
			$include_bom
1787
		));
1788
	}
1789
1790
1791
	/**
@@ 1800-1811 (lines=12) @@
1797
	 * @param bool $include_bom
1798
	 * @return Export\Export
1799
	 */
1800
	public function addExportCsvFiltered($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1801
	{
1802
		return $this->addToExports(new Export\ExportCsv(
1803
			$this,
1804
			$text,
1805
			$csv_file_name,
1806
			TRUE,
1807
			$output_encoding,
1808
			$delimiter,
1809
			$include_bom
1810
		));
1811
	}
1812
1813
1814
	/**