class ChildWithReturnAnnotation

Fixture: cross-module child with own

Hierarchy

Expanded class hierarchy of ChildWithReturnAnnotation

File

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

Namespace

Drupal\drupal_debug_test_core
View source
class ChildWithReturnAnnotation extends ParentWithReturn {
  
  /**
   * @return string
   *   A test string.
   */
  public function testMethod() {
    return 'overridden';
  }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
ChildWithReturnAnnotation::testMethod public function Overrides ParentWithReturn::testMethod
ParentWithReturn::anotherMethod public function

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