class Test in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/phpunit/php-token-stream/tests/_fixture/class_with_method_that_declares_anonymous_class2.php \Test
- 8.0 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
Hierarchy
- class \Test
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
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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Test:: |
public | function | ||
Test:: |
public | function |