PHP 클래스 kahlan\matcher\ToContainKey

파일 보기 프로젝트 열기: crysalead/kahlan 1 사용 예제들

공개 메소드들

메소드 설명
description ( ) : string Returns the description message.
match ( collection $actual, mixed $expected ) : boolean Expect that $actual array contain the $expected key.

메소드 상세

description() 공개 정적인 메소드

Returns the description message.
public static description ( ) : string
리턴 string The description message.

match() 공개 정적인 메소드

Expect that $actual array contain the $expected key.
public static match ( collection $actual, mixed $expected ) : boolean
$actual collection The actual array.
$expected mixed The expected key.
리턴 boolean