PHP Class Eloquent\Phony\Phpunit\PhpunitMatcherDriver

Inheritance: implements Eloquent\Phony\Matcher\MatcherDriver
Afficher le fichier Open project: eloquent/phony Class Usage Examples

Méthodes publiques

Méthode Description
instance ( ) : Eloquent\Phony\Matcher\MatcherDriver Get the static instance of this driver.
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

instance() public static méthode

Get the static instance of this driver.
public static instance ( ) : Eloquent\Phony\Matcher\MatcherDriver
Résultat Eloquent\Phony\Matcher\MatcherDriver The static driver.

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.