function callback

Returns a PHPUnit_Framework_Constraint_Callback matcher object.

Parameters

callable $callback:

Return value

PHPUnit_Framework_Constraint_Callback

3 string references to 'callback'
Framework_MockObjectTest::testMockArgumentsPassedByReference in drupal/core/vendor/phpunit/phpunit-mock-objects/Tests/MockObjectTest.php
JsonResponseTest::testSetCallback in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/JsonResponseTest.php
PHPUnit_Framework_TestCase::setOutputCallback in drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php
@since Method available since Release 3.6.0

File

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

Code

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