PHP 인터페이스 PHPSpec\Matcher\Matcher

파일 보기 프로젝트 열기: phpspec/phpspec 0 사용 예제들

공개 메소드들

메소드 설명
getPriority ( ) : integer Returns matcher priority.
negativeMatch ( string $name, mixed $subject, array $arguments ) Evaluates negative match.
positiveMatch ( string $name, mixed $subject, array $arguments ) Evaluates positive match.
supports ( string $name, mixed $subject, array $arguments ) : boolean Checks if matcher supports provided subject and matcher name.

메소드 상세

getPriority() 공개 메소드

Returns matcher priority.
public getPriority ( ) : integer
리턴 integer

negativeMatch() 공개 메소드

Evaluates negative match.
public negativeMatch ( string $name, mixed $subject, array $arguments )
$name string
$subject mixed
$arguments array

positiveMatch() 공개 메소드

Evaluates positive match.
public positiveMatch ( string $name, mixed $subject, array $arguments )
$name string
$subject mixed
$arguments array

supports() 공개 메소드

Checks if matcher supports provided subject and matcher name.
public supports ( string $name, mixed $subject, array $arguments ) : boolean
$name string
$subject mixed
$arguments array
리턴 boolean