src/Matcher/ToBe.php
<?php
namespace Kahlan\Matcher;
class ToBe
{
/**
* Checks that `$actual` is identical to `$expected`.
*
* @param mixed $actual The actual value.
* @param mixed $expected The expected value.
* @return boolean
*/
public static function match($actual, $expected)
{
return $actual === $expected;
}
/**
* Returns the description message.
*
* @return string The description message.
*/
public static function description()
{
return "be identical to expected (===).";
}
}