function Inspector::assertAllStrictArrays
Same name in other branches
- 9 core/lib/Drupal/Component/Assertion/Inspector.php \Drupal\Component\Assertion\Inspector::assertAllStrictArrays()
- 8.9.x core/lib/Drupal/Component/Assertion/Inspector.php \Drupal\Component\Assertion\Inspector::assertAllStrictArrays()
- 10 core/lib/Drupal/Component/Assertion/Inspector.php \Drupal\Component\Assertion\Inspector::assertAllStrictArrays()
Asserts all members are strict arrays.
Parameters
mixed $traversable: Variable to be examined.
Return value
bool TRUE if $traversable can be traversed and all members are strict arrays.
See also
::assertStrictArray
2 calls to Inspector::assertAllStrictArrays()
- InspectorTest::testAssertAllStrictArrays in core/
tests/ Drupal/ Tests/ Component/ Assertion/ InspectorTest.php - Tests asserting all members are strict arrays.
- StagedDBUpdateValidator::tokensMatchFunctionNamePattern in core/
modules/ package_manager/ src/ Validator/ StagedDBUpdateValidator.php - Determines if a set of tokens contain a function name matching a pattern.
File
-
core/
lib/ Drupal/ Component/ Assertion/ Inspector.php, line 161
Class
Namespace
Drupal\Component\AssertionCode
public static function assertAllStrictArrays($traversable) {
return static::assertAll([
__CLASS__,
'assertStrictArray',
], $traversable);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.