function ParentWithReturn::testMethod
Return value
string A test string.
5 methods override ParentWithReturn::testMethod()
- ChildWithDeprecatedMethod::testMethod in core/
tests/ fixtures/ TestTools/ drupal_debug_classloader_test_classes.php - ChildWithNativeReturnType::testMethod in core/
tests/ fixtures/ TestTools/ drupal_debug_classloader_test_classes.php - ChildWithoutReturnType::testMethod in core/
tests/ fixtures/ TestTools/ drupal_debug_classloader_test_classes.php - ChildWithReturnAnnotation::testMethod in core/
tests/ fixtures/ TestTools/ drupal_debug_classloader_test_classes.php - SameModuleChild::testMethod in core/
tests/ fixtures/ TestTools/ drupal_debug_classloader_test_classes.php
File
-
core/
tests/ fixtures/ TestTools/ drupal_debug_classloader_test_classes.php, line 17
Class
- ParentWithReturn
- Fixture: parent class with
Namespace
Drupal\drupal_debug_test_coreCode
public function testMethod() {
return 'test';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.