[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Configurator/RecursiveParser/ -> MatcherInterface.php (summary)

(no description)

File Size: 29 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MatcherInterface:: (1 method):
  getMatchers()


Interface: MatcherInterface  - X-Ref


getMatchers()   X-Ref
Return the matchers configuration

Match name as key. Can be prefixed with a colon-separated list of groups, e.g. "Group:Name".
Value must be a string or an array with the following elements:

- regexp:   the regular expression used to match input.
- order:    used to sort matchers. Defaults to 0.
- groups:   list of groups this match belongs to. Defaults to an empty array.
- callback: called with the matched strings. Defaults to [$this, "parseX"] where X is the
match name.

If the config is a string, the string is used for the "regexp" element.

return: array



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1