PHP 클래스 Eloquent\Phony\Matcher\AnyMatcher

상속: implements Eloquent\Phony\Matcher\Matcher
파일 보기 프로젝트 열기: eloquent/phony 1 사용 예제들

공개 메소드들

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