function matches

Returns a PHPUnit_Framework_Constraint_StringMatches matcher object.

@since Method available since Release 3.5.0

Parameters

string $string:

Return value

PHPUnit_Framework_Constraint_StringMatches

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php, line 2210

Code

function matches($string) {
  return call_user_func_array('PHPUnit_Framework_Assert::matches', func_get_args());
}