# tablepress/3.4/libraries/vendor/PhpSpreadsheet/Reader/IReader2.php

TablePress – Tables in WordPress made easy, version 3.4. 22 lines.

- Page: https://pluginprobe.com/plugins/tablepress/3.4/code/libraries/vendor/PhpSpreadsheet/Reader/IReader2.php
- Raw: https://pluginprobe.com/plugins/tablepress/3.4/raw/libraries/vendor/PhpSpreadsheet/Reader/IReader2.php
- Modified: 2026-06-10T03:54:08+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/tablepress/3.4/code/libraries/vendor/PhpSpreadsheet/Reader/IReader2.php#L10-L20`.

```php
<?php

namespace TablePress\PhpOffice\PhpSpreadsheet\Reader;

interface IReader2 extends IReader
{
	/**
	 * Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns).
	 *
	 * @return array<int, array{worksheetName: string, lastColumnLetter: string, lastColumnIndex: int, totalRows: int, totalColumns: int, sheetState: string}>
	 */
	public function listWorksheetInfo(string $filename): array;

	/**
	 * Returns names of the worksheets from a file,
	 * possibly without parsing the whole file to a Spreadsheet object.
	 *
	 * @return string[]
	 */
	public function listWorksheetNames(string $filename): array;
}

```
