PHP Eloquent\Phony\Matcher Namespace

Interfaces

Name Description
Matchable The interface implemented by both singular and wildcard matchers.
Matcher The interface implemented by matchers.
MatcherDriver The interface implemented by matcher drivers.

Classes

Name Description
AnyMatcher A matcher that always returns true.
EqualToMatcher A matcher that tests if the value is strictly equal to (===) another value. Arrays and objects are descended into, comparing each key/value pair individually.
MatcherFactory Creates matchers.
MatcherResult Represents the result of matching arguments against matchers.
MatcherVerifier Verifies argument lists against matcher lists.
WildcardMatcher A matcher that tests any number of arguments against another matcher.
WrappedMatcher Wraps a typical third party matcher.