PHP Class kahlan\matcher\ToContainKey

Datei anzeigen Open project: crysalead/kahlan Class Usage Examples

Public Methods

Method Description
description ( ) : string Returns the description message.
match ( collection $actual, mixed $expected ) : boolean Expect that $actual array contain the $expected key.

Method Details

description() public static method

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

match() public static method

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.
return boolean