Eloquent\Phony\Integration\HamcrestMatcherDriver::wrapMatcher PHP Method

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.
    public function wrapMatcher($matcher)
    {
        return new WrappedMatcher($matcher);
    }