PHP 클래스 Eloquent\Phony\Matcher\MatcherVerifier

파일 보기 프로젝트 열기: eloquent/phony 1 사용 예제들

공개 메소드들

메소드 설명
explain ( array $matchers, array $arguments ) : MatcherResult Explain which of the supplied arguments match which of the supplied matchers.
instance ( ) : MatcherVerifier Get the static instance of this verifier.
matches ( array $matchers, array $arguments ) : boolean Verify that the supplied arguments match the supplied matchers.

메소드 상세

explain() 공개 메소드

Explain which of the supplied arguments match which of the supplied matchers.
public explain ( array $matchers, array $arguments ) : MatcherResult
$matchers array
$arguments array The arguments.
리턴 MatcherResult The result of matching.

instance() 공개 정적인 메소드

Get the static instance of this verifier.
public static instance ( ) : MatcherVerifier
리턴 MatcherVerifier The static verifier.

matches() 공개 메소드

Verify that the supplied arguments match the supplied matchers.
public matches ( array $matchers, array $arguments ) : boolean
$matchers array
$arguments array The arguments.
리턴 boolean True if the arguments match.