Matcher
Table of Contents
Properties
- $matchers : array<string|int, MatcherInterface>
Methods
- addMatcher() : self
- match() : bool
Properties
$matchers
protected
array<string|int, MatcherInterface>
$matchers
= []
Methods
addMatcher()
public
addMatcher(MatcherInterface $matcher) : self
Parameters
- $matcher : MatcherInterface
Return values
selfmatch()
public
match(mixed $item) : bool
Parameters
- $item : mixed