You are here

public function SpreadsheetIteratorInterface::getWorksheet in Migrate Spreadsheet 8

Same name and namespace in other branches
  1. 2.0.x src/SpreadsheetIteratorInterface.php \Drupal\migrate_spreadsheet\SpreadsheetIteratorInterface::getWorksheet()

Gets the worksheet.

Return value

\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet The PHP Office worksheet object.

Throws

\InvalidArgumentException If an empty or invalid 'worksheet' has been passed.

1 method overrides SpreadsheetIteratorInterface::getWorksheet()
SpreadsheetIterator::getWorksheet in src/SpreadsheetIterator.php
Gets the worksheet.

File

src/SpreadsheetIteratorInterface.php, line 54

Class

SpreadsheetIteratorInterface
Provides an interface for spreadsheet iterators.

Namespace

Drupal\migrate_spreadsheet

Code

public function getWorksheet();