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

Наследование: implements Eloquent\Phony\Matcher\Matcher
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__toString ( ) : string Describe this matcher.
describe ( Eloquent\Phony\Exporter\Exporter $exporter = null ) : string Describe this matcher.
instance ( ) : Eloquent\Phony\Matcher\Matcher Get the static instance of this matcher.
matches ( mixed $value ) : boolean Returns true if $value matches this matcher's criteria.

Описание методов

__toString() публичный Метод

Describe this matcher.
public __toString ( ) : string
Результат string The description.

describe() публичный Метод

Describe this matcher.
public describe ( Eloquent\Phony\Exporter\Exporter $exporter = null ) : string
$exporter Eloquent\Phony\Exporter\Exporter The exporter to use.
Результат string The description.

instance() публичный статический Метод

Get the static instance of this matcher.
public static instance ( ) : Eloquent\Phony\Matcher\Matcher
Результат Eloquent\Phony\Matcher\Matcher The static matcher.

matches() публичный Метод

Returns true if $value matches this matcher's criteria.
public matches ( mixed $value ) : boolean
$value mixed The value to check.
Результат boolean True if the value matches.