class TestController

A test controller.

Hierarchy

Expanded class hierarchy of TestController

File

core/modules/system/tests/modules/http_kernel_test/src/Controller/TestController.php, line 10

Namespace

Drupal\http_kernel_test\Controller
View source
class TestController {
  
  /**
   * Return an empty response.
   */
  public function get() {
    return new Response();
  }

}

Members

Title Sort descending Modifiers Object type Summary
TestController::get public function Return an empty response.

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