kahlan\matcher\ToBe::match PHP Method

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
    public static function match($actual, $expected)
    {
        return $actual === $expected;
    }