You are here

public function PHPExcel_Worksheet::copy in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet.php \PHPExcel_Worksheet::copy()

Copy worksheet (!= clone!)

Return value

PHPExcel_Worksheet

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet.php, line 2847

Class

PHPExcel_Worksheet
PHPExcel_Worksheet

Code

public function copy() {
  $copied = clone $this;
  return $copied;
}