PHP Interface Eloquent\Phony\Matcher\MatcherDriver

Afficher le fichier Open project: eloquent/phony

Méthodes publiques

Méthode Description
isAvailable ( ) : boolean Returns true if this matcher driver's classes or interfaces exist.
matcherClassNames ( ) : array Get the supported matcher class names.
wrapMatcher ( object $matcher ) : Eloquent\Phony\Matcher\Matchable Wrap the supplied third party matcher.

Method Details

isAvailable() public méthode

Returns true if this matcher driver's classes or interfaces exist.
public isAvailable ( ) : boolean
Résultat boolean True if available.

matcherClassNames() public méthode

Get the supported matcher class names.
public matcherClassNames ( ) : array
Résultat array

wrapMatcher() public méthode

Wrap the supplied third party matcher.
public wrapMatcher ( object $matcher ) : Eloquent\Phony\Matcher\Matchable
$matcher object The matcher to wrap.
Résultat Eloquent\Phony\Matcher\Matchable The wrapped matcher.