Code Duplication    Length = 12-12 lines in 2 locations

src/DataGrid.php 2 locations

@@ 1709-1720 (lines=12) @@
1706
	 * @param bool $include_bom
1707
	 * @return Export\Export
1708
	 */
1709
	public function addExportCsv($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1710
	{
1711
		return $this->addToExports(new Export\ExportCsv(
1712
			$this,
1713
			$text,
1714
			$csv_file_name,
1715
			FALSE,
1716
			$output_encoding,
1717
			$delimiter,
1718
			$include_bom
1719
		));
1720
	}
1721
1722
1723
	/**
@@ 1732-1743 (lines=12) @@
1729
	 * @param bool $include_bom
1730
	 * @return Export\Export
1731
	 */
1732
	public function addExportCsvFiltered($text, $csv_file_name, $output_encoding = NULL, $delimiter = NULL, $include_bom = FALSE)
1733
	{
1734
		return $this->addToExports(new Export\ExportCsv(
1735
			$this,
1736
			$text,
1737
			$csv_file_name,
1738
			TRUE,
1739
			$output_encoding,
1740
			$delimiter,
1741
			$include_bom
1742
		));
1743
	}
1744
1745
1746
	/**