PHP 클래스 PHPSpec\Matcher\IdentityMatcher

상속: extends BasicMatcher
파일 보기 프로젝트 열기: phpspec/phpspec

공개 메소드들

메소드 설명
__construct ( PhpSpec\Formatter\Presenter\Presenter $presenter )
supports ( string $name, mixed $subject, array $arguments ) : boolean

보호된 메소드들

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

메소드 상세

__construct() 공개 메소드

public __construct ( PhpSpec\Formatter\Presenter\Presenter $presenter )
$presenter PhpSpec\Formatter\Presenter\Presenter

getFailureException() 보호된 메소드

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

getNegativeFailureException() 보호된 메소드

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

matches() 보호된 메소드

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

supports() 공개 메소드

public supports ( string $name, mixed $subject, array $arguments ) : boolean
$name string
$subject mixed
$arguments array
리턴 boolean