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