PHP Class kahlan\matcher\ToContainKey

Afficher le fichier Open project: crysalead/kahlan Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Returns the description message.
public static description ( ) : string
Résultat string The description message.

match() public static méthode

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.
Résultat boolean