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

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

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

Метод Описание
__construct ( mixed $value, boolean $useSubstitution, Eloquent\Phony\Exporter\Exporter $exporter ) Construct a new equal to matcher.
__toString ( ) : string Describe this matcher.
describe ( Eloquent\Phony\Exporter\Exporter $exporter = null ) : string Describe this matcher.
matches ( mixed $value ) : boolean Returns true if $value matches this matcher's criteria.
value ( ) : mixed Get the value.

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

__construct() публичный метод

Construct a new equal to matcher.
public __construct ( mixed $value, boolean $useSubstitution, Eloquent\Phony\Exporter\Exporter $exporter )
$value mixed The value to check against.
$useSubstitution boolean True to use substitution for wrapper types.
$exporter Eloquent\Phony\Exporter\Exporter The exporter to use.

__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.

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.

value() публичный метод

Get the value.
public value ( ) : mixed
Результат mixed The value.