You are here

function callback in Zircon Profile 8

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

Returns a PHPUnit_Framework_Constraint_Callback matcher object.

Parameters

callable $callback:

Return value

PHPUnit_Framework_Constraint_Callback

15 string references to 'callback'
Action::query in core/modules/action/src/Plugin/migrate/source/d6/Action.php
AnnotationLoaderTest::testLoadClassMetadata in vendor/symfony/validator/Tests/Mapping/Loader/AnnotationLoaderTest.php
AnnotationLoaderTest::testLoadClassMetadataAndMerge in vendor/symfony/validator/Tests/Mapping/Loader/AnnotationLoaderTest.php
Test MetaData merge with parent annotation.
BubbleableMetadataTest::providerTestMerge in core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php
Provides test data for testMerge().
Callback::getDefaultOption in vendor/symfony/validator/Constraints/Callback.php
Returns the name of the default option.

... See full list

File

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

Code

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