function ChildWithNativeReturnType::testMethod

Return value

string A test string.

Overrides ParentWithReturn::testMethod

File

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

Class

ChildWithNativeReturnType
Fixture: cross-module child with native return type.

Namespace

Drupal\drupal_debug_test_core

Code

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

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