PHP 클래스 PHPSpec\Matcher\BasicMatcher

상속: implements PHPSpec\Matcher\Matcher
파일 보기 프로젝트 열기: phpspec/phpspec

공개 메소드들

메소드 설명
getPriority ( ) : integer
negativeMatch ( string $name, mixed $subject, array $arguments ) : mixed
positiveMatch ( string $name, mixed $subject, array $arguments ) : mixed

보호된 메소드들

메소드 설명
getFailureException ( string $name, mixed $subject, array $arguments ) : PhpSpec\Exception\Example\FailureException
getNegativeFailureException ( string $name, mixed $subject, array $arguments ) : PhpSpec\Exception\Example\FailureException
matches ( mixed $subject, array $arguments ) : boolean

메소드 상세

getFailureException() 추상적인 보호된 메소드

abstract protected getFailureException ( string $name, mixed $subject, array $arguments ) : PhpSpec\Exception\Example\FailureException
$name string
$subject mixed
$arguments array
리턴 PhpSpec\Exception\Example\FailureException

getNegativeFailureException() 추상적인 보호된 메소드

abstract protected getNegativeFailureException ( string $name, mixed $subject, array $arguments ) : PhpSpec\Exception\Example\FailureException
$name string
$subject mixed
$arguments array
리턴 PhpSpec\Exception\Example\FailureException

getPriority() 공개 메소드

public getPriority ( ) : integer
리턴 integer

matches() 추상적인 보호된 메소드

abstract protected matches ( mixed $subject, array $arguments ) : boolean
$subject mixed
$arguments array
리턴 boolean

negativeMatch() 최종 공개 메소드

final public negativeMatch ( string $name, mixed $subject, array $arguments ) : mixed
$name string
$subject mixed
$arguments array
리턴 mixed

positiveMatch() 최종 공개 메소드

final public positiveMatch ( string $name, mixed $subject, array $arguments ) : mixed
$name string
$subject mixed
$arguments array
리턴 mixed @throws FailureException