Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 10.3.x for to
  4. Search 11.x for to
  5. Other projects
Title Object type File name Summary
Inspector class core/lib/Drupal/Component/Assertion/Inspector.php Generic inspections for the assert() statement.
Inspector.php file core/lib/Drupal/Component/Assertion/Inspector.php
Inspector::assertAll function core/lib/Drupal/Component/Assertion/Inspector.php Asserts callback returns TRUE for each member of a traversable.
Inspector::assertAllArrays function core/lib/Drupal/Component/Assertion/Inspector.php Asserts that all members are arrays.
Inspector::assertAllCallable function core/lib/Drupal/Component/Assertion/Inspector.php Asserts that all members are callable.
Inspector::assertAllFloat function core/lib/Drupal/Component/Assertion/Inspector.php Asserts that all members are float values.
Inspector::assertAllHaveKey function core/lib/Drupal/Component/Assertion/Inspector.php Asserts all given keys exist in every member array.
Inspector::assertAllIntegers function core/lib/Drupal/Component/Assertion/Inspector.php Asserts that all members are integer values.
Inspector::assertAllMatch function core/lib/Drupal/Component/Assertion/Inspector.php Asserts that all members are strings that contain the specified string.
Inspector::assertAllNotEmpty function core/lib/Drupal/Component/Assertion/Inspector.php Asserts that all members are not empty.
Inspector::assertAllNumeric function core/lib/Drupal/Component/Assertion/Inspector.php Asserts all members are numeric data types or strings castable to such.
Inspector::assertAllObjects function core/lib/Drupal/Component/Assertion/Inspector.php Asserts that all members are objects.
Inspector::assertAllRegularExpressionMatch function core/lib/Drupal/Component/Assertion/Inspector.php Asserts that all members are strings matching a regular expression.
Inspector::assertAllStrictArrays function core/lib/Drupal/Component/Assertion/Inspector.php Asserts all members are strict arrays.
Inspector::assertAllStringable function core/lib/Drupal/Component/Assertion/Inspector.php Asserts all members are strings or objects with magic __toString() method.
Inspector::assertAllStrings function core/lib/Drupal/Component/Assertion/Inspector.php Asserts that all members are strings.
Inspector::assertStrictArray function core/lib/Drupal/Component/Assertion/Inspector.php Asserts that the array is strict.
Inspector::assertStringable function core/lib/Drupal/Component/Assertion/Inspector.php Asserts argument is a string or an object castable to a string.
Inspector::assertTraversable function core/lib/Drupal/Component/Assertion/Inspector.php Asserts argument can be traversed with foreach.
InspectorTest class core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php @coversDefaultClass \Drupal\Component\Assertion\Inspector[[api-linebreak]]
@group Assertion
InspectorTest.php file core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Contains \Drupal\Tests\Component\Assertion\InspectorTest.
InspectorTest::callMe function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Test method referenced by ::testAllCallable().
InspectorTest::callMeStatic function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Test method referenced by ::testAllCallable().
InspectorTest::providerTestAssertAllStrings function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php
InspectorTest::testAllCallable function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Tests asserting all members are callable.
InspectorTest::testAllNotEmpty function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Tests asserting all members are !empty().
InspectorTest::testAssertAllArrays function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Tests asserting all members are arrays.
InspectorTest::testAssertAllFloat function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Tests asserting all members are floating point variables.
InspectorTest::testAssertAllHaveKey function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Tests asserting all members have specified keys.
InspectorTest::testAssertAllIntegers function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Tests asserting all members are integers.
InspectorTest::testAssertAllMatch function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Tests asserting strstr() or stristr() match.
InspectorTest::testAssertAllNumeric function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Tests asserting all arguments are numbers or strings castable to numbers.
InspectorTest::testAssertAllObjects function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Tests asserting all members are objects.
InspectorTest::testAssertAllRegularExpressionMatch function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Tests asserting regular expression match.
InspectorTest::testAssertAllStrictArrays function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Tests asserting all members are strict arrays.
InspectorTest::testAssertAllStringable function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Tests asserting all members are strings or objects with __toString().
InspectorTest::testAssertAllStrings function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Tests asserting all members are strings.
InspectorTest::testAssertStrictArray function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Tests asserting array is 0-indexed - the strict definition of array.
InspectorTest::testAssertTraversable function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php Tests asserting argument is an array or traversable object.
InstallerConfigDirectorySetNoDirectoryErrorTest class core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php Tests the installer when a config_directory set up but does not exist.
InstallerConfigDirectorySetNoDirectoryErrorTest.php file core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php
InstallerConfigDirectorySetNoDirectoryErrorTest::$configDirectory property core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php The directory where the sync directory should be created during install.
InstallerConfigDirectorySetNoDirectoryErrorTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php The theme to install as the default for testing.
InstallerConfigDirectorySetNoDirectoryErrorTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php Prepares the current environment for running the test.
InstallerConfigDirectorySetNoDirectoryErrorTest::setUpSettings function core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php Installer step: Configure settings.
InstallerConfigDirectorySetNoDirectoryErrorTest::setUpSite function core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php Final installer step: Configure site.
InstallerConfigDirectorySetNoDirectoryErrorTest::testError function core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php Verifies that installation failed.
InstallerConfigDirectorySetNoDirectoryTest class core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryTest.php Tests the installer when a custom config directory set up but does not exist.
InstallerConfigDirectorySetNoDirectoryTest.php file core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryTest.php
InstallerConfigDirectorySetNoDirectoryTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryTest.php The theme to install as the default for testing.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.