You are here

function matches in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/phpunit/src/Framework/Assert/Functions.php \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

vendor/phpunit/phpunit/src/Framework/Assert/Functions.php, line 2215

Code

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