function stringStartsWith

Returns a PHPUnit_Framework_Constraint_StringStartsWith matcher object.

@since Method available since Release 3.4.0

Parameters

mixed $prefix:

Return value

PHPUnit_Framework_Constraint_StringStartsWith

File

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

Code

function stringStartsWith($prefix) {
  return call_user_func_array('PHPUnit_Framework_Assert::stringStartsWith', func_get_args());
}