function ChildWithReturnAnnotation::testMethod

Return value

string A test string.

Overrides ParentWithReturn::testMethod

File

core/tests/fixtures/TestTools/drupal_debug_classloader_test_classes.php, line 86

Class

ChildWithReturnAnnotation
Fixture: cross-module child with own

Namespace

Drupal\drupal_debug_test_core

Code

public function testMethod() {
  return 'overridden';
}

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