Smalot_Adapter implements Raw_Text_Adapter

Internal Smalot raw PDF text adapter.

Tags

Interfaces, Classes and Traits

Raw_Text_Adapter
Internal extraction boundary; normalization belongs to the PDF facade.

Table of Contents

$parser_class  : string
Scoped parser class, resolved by the facade.
__construct()  : mixed
Receive a backend already checked for platform compatibility.
extract_raw()  : string
Extract raw text and release parser/document references before returning.

Properties

$parser_class

Scoped parser class, resolved by the facade.

private string $parser_class
Tags

Methods

__construct()

Receive a backend already checked for platform compatibility.

public __construct(string $parser_class) : mixed
Parameters
$parser_class : string

Scoped parser class.

Tags
Return values
mixed —

extract_raw()

Extract raw text and release parser/document references before returning.

public extract_raw(string $file_path) : string
Parameters
$file_path : string

Absolute PDF path.

Tags
Return values
string —

Search results