PHP Класс Eloquent\Phony\Matcher\MatcherVerifier

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.