\PhpOffice\PhpSpreadsheet\ReaderIReader

Summary

Methods
Constants
__construct()
canRead()
load()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

__construct()

__construct() 

IReader constructor.

canRead()

canRead(string  $pFilename) : boolean

Can the current IReader read the file?

Parameters

string $pFilename

Returns

boolean

load()

load(string  $pFilename) : \PhpOffice\PhpSpreadsheet\Spreadsheet

Loads PhpSpreadsheet from file.

Parameters

string $pFilename

Throws

\PhpOffice\PhpSpreadsheet\Reader\Exception

Returns

\PhpOffice\PhpSpreadsheet\Spreadsheet