You are here

function stringStartsWith in Zircon Profile 8

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

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

Code

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