class ParentWithReturn

Fixture: parent class with

Hierarchy

Expanded class hierarchy of ParentWithReturn

1 file declares its use of ParentWithReturn
drupal_debug_classloader_test_classes.php in core/tests/fixtures/TestTools/drupal_debug_classloader_test_classes.php

File

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

Namespace

Drupal\drupal_debug_test_core
View source
class ParentWithReturn {
  
  /**
   * @return string
   *   A test string.
   */
  public function testMethod() {
    return 'test';
  }
  
  /**
   * @return int
   *   A test integer.
   */
  public function anotherMethod() {
    return 42;
  }

}

Members

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

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