AsTextExtractor
Service tag to autoconfigure text extractors for the TextExtractorRegistry.
Attributes
- #[Attribute]
- \Attribute::TARGET_CLASS
Table of Contents
Constants
- TAG_NAME : mixed = 'fal.text_extractor'
Properties
- $priority : int
- The priority of the text extractor. This way it is possible to define/overrule an extractor for a specific file type/context, for example a text extractor for a certain mime type.
Methods
- __construct() : mixed
Constants
TAG_NAME
public
mixed
TAG_NAME
= 'fal.text_extractor'
Properties
$priority
The priority of the text extractor. This way it is possible to define/overrule an extractor for a specific file type/context, for example a text extractor for a certain mime type.
public
int
$priority
= 0
Extractors with a higher priority are asked first whether they can extract text from a given file. The text extractors shipped with TYPO3 Core use the default priority of 0.
Methods
__construct()
public
__construct([int $priority = 0 ]) : mixed
Parameters
- $priority : int = 0