You are here

function any in Zircon Profile 8

Same name in this branch
  1. 8 vendor/guzzlehttp/promises/src/functions.php \GuzzleHttp\Promise\any()
  2. 8 vendor/phpunit/phpunit/src/Framework/Assert/Functions.php \any()
Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Assert/Functions.php \any()

Returns a matcher that matches when the method is executed zero or more times.

@since Method available since Release 3.0.0

Return value

PHPUnit_Framework_MockObject_Matcher_AnyInvokedCount

47 string references to 'any'
ContextHandler::getMatchingContexts in core/lib/Drupal/Core/Plugin/Context/ContextHandler.php
Determines which contexts satisfy the constraints of a given definition.
ContextTypedDataTest::testGetContextValue in core/tests/Drupal/Tests/Core/Plugin/Context/ContextTypedDataTest.php
Tests that getting a context value does not throw fatal errors.
DataDefinition::getDataType in core/lib/Drupal/Core/TypedData/DataDefinition.php
Returns the data type of the data.
FloatItem::fieldSettingsForm in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/FloatItem.php
Returns a form for the field-level settings.
FormTestRangeForm::buildForm in core/modules/system/tests/modules/form_test/src/Form/FormTestRangeForm.php
Form constructor.

... See full list

File

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

Code

function any() {
  return call_user_func_array('PHPUnit_Framework_TestCase::any', func_get_args());
}