class ChildWithNativeReturnType

Fixture: cross-module child with native return type.

Hierarchy

Expanded class hierarchy of ChildWithNativeReturnType

File

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

Namespace

Drupal\drupal_debug_test_core
View source
class ChildWithNativeReturnType extends ParentWithReturn {
  
  /**
   * {@inheritdoc}
   */
  public function testMethod() : string {
    return 'overridden';
  }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
ChildWithNativeReturnType::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.