PHP Class kahlan\matcher\ToBe

Datei anzeigen Open project: crysalead/kahlan Class Usage Examples

Public Methods

Method Description
description ( ) : string Returns the description message.
match ( mixed $actual, mixed $expected ) : boolean Checks that $actual is identical to $expected.

Method Details

description() public static method

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

match() public static method

Checks that $actual is identical to $expected.
public static match ( mixed $actual, mixed $expected ) : boolean
$actual mixed The actual value.
$expected mixed The expected value.
return boolean