PHP Interface Eloquent\Phony\Matcher\MatcherDriver

Show file Open project: eloquent/phony

Public Methods

Method 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 method

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

matcherClassNames() public method

Get the supported matcher class names.
public matcherClassNames ( ) : array
return array

wrapMatcher() public method

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