DelimiterProcessorCollectionInterface
in
Table of Contents
- add() : void
- Add the given delim processor to the collection
- getDelimiterCharacters() : array<string|int, string>
- Returns an array of delimiter characters who have associated processors
- getDelimiterProcessor() : DelimiterProcessorInterface|null
- Returns the delim processor which handles the given character if one exists
Methods
add()
Add the given delim processor to the collection
public
add(DelimiterProcessorInterface $processor) : void
Parameters
- $processor : DelimiterProcessorInterface
-
The delim processor to add
Tags
Return values
void —getDelimiterCharacters()
Returns an array of delimiter characters who have associated processors
public
getDelimiterCharacters() : array<string|int, string>
Return values
array<string|int, string> —getDelimiterProcessor()
Returns the delim processor which handles the given character if one exists
public
getDelimiterProcessor(string $char) : DelimiterProcessorInterface|null
Parameters
- $char : string