AbstractParser
in package
implements
ParserInterface
AbstractYes
Abstract Pdf parser class
Tags
Table of Contents
Interfaces
- ParserInterface
- Parser interface
Properties
Methods
- getData() : string
- Get the data stream
- getFile() : string
- Get the file
- parse() : AbstractDocument
- Parse the PDF data
Properties
$data
Imported PDF data stream
protected
string|null
$data
= null
$file
Imported PDF file
protected
string|null
$file
= null
Methods
getData()
Get the data stream
public
getData() : string
Return values
stringgetFile()
Get the file
public
getFile() : string
Return values
stringparse()
Parse the PDF data
public
abstract parse([mixed $pages = null ]) : AbstractDocument
Parameters
- $pages : mixed = null