You are here

function returnCallback in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Assert/Functions.php \returnCallback()

@since Method available since Release 3.3.0

Parameters

mixed $callback:

Return value

PHPUnit_Framework_MockObject_Stub_ReturnCallback

File

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

Code

function returnCallback($callback) {
  return call_user_func_array('PHPUnit_Framework_TestCase::returnCallback', func_get_args());
}