PHP 클래스 Eloquent\Phony\Matcher\EqualToMatcher

상속: implements Eloquent\Phony\Matcher\Matcher
파일 보기 프로젝트 열기: eloquent/phony

공개 메소드들

메소드 설명
__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.