setasign\SetaPDF2\Extractor\Filter
PageFilterInterface The interface for filter instances that requires a page object.
File: /SetaPDF v2/Extractor/Filter/PageFilterInterface.php
Old class name (alias):
\SetaPDF_Extractor_Filter_PageFilterInterface
Implemented in
Implements
Summary
Methods
accept()
abstract public FilterInterface::accept (
\setasign\SetaPDF2\Extractor\TextItem $textItem
): bool|stringThe method which is called with the specific text item.
It has to return true or false, whether the item is accepted or not.
Parameters
- $textItem : \setasign\SetaPDF2\Extractor\TextItem
Return Values
False or true/an identifier string whether the item is accepted or not.