setasign\SetaPDF2\Extractor\Filter

FilterInterface The interface for filter instances.

File: /SetaPDF v2/Extractor/Filter/FilterInterface.php
Old class name (alias): \SetaPDF_Extractor_Filter_FilterInterface

Implemented in

Summary

Methods

accept()

abstract public FilterInterface::accept (): bool|string

The 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 : \SetaPDF_Extractor_TextItem
 
Return Values

False or true/an identifier string whether the item is accepted or not.