You are here

class Test in Zircon Profile 8

Same name in this branch
  1. 8 vendor/phpunit/php-token-stream/tests/_fixture/class_with_method_that_declares_anonymous_class2.php \Test
  2. 8 core/modules/system/tests/modules/test_page_test/src/Controller/Test.php \Drupal\test_page_test\Controller\Test
Same name and namespace in other branches
  1. 8.0 vendor/phpunit/php-token-stream/tests/_fixture/class_with_method_that_declares_anonymous_class2.php \Test

Hierarchy

Expanded class hierarchy of Test

64 string references to 'Test'
ClientTest::testHandlesRedirectsCorrectly in vendor/fabpot/goutte/Goutte/Tests/ClientTest.php
ClientTest::testHttps in vendor/fabpot/goutte/Goutte/Tests/ClientTest.php
config_translation_test.content.yml in core/modules/config_translation/tests/modules/config_translation_test/config/install/config_translation_test.content.yml
core/modules/config_translation/tests/modules/config_translation_test/config/install/config_translation_test.content.yml
ContentTranslationSettingsTest::testFieldTranslatableSettingsUI in core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php
Tests that field setting depends on bundle translatability.
core.entity_view_mode.entity_test.test.yml in core/modules/system/tests/modules/entity_test/config/install/core.entity_view_mode.entity_test.test.yml
core/modules/system/tests/modules/entity_test/config/install/core.entity_view_mode.entity_test.test.yml

... See full list

File

vendor/phpunit/php-token-stream/tests/_fixture/class_with_method_that_declares_anonymous_class2.php, line 2

View source
class Test {
  public function methodOne() {
    $foo = new class {
      public function method_in_anonymous_class() {
        return true;
      }

    };
    return $foo
      ->method_in_anonymous_class();
  }
  public function methodTwo() {
    return false;
  }

}

Members