function TestController::get
Same name in other branches
- 8.9.x core/modules/system/tests/modules/httpkernel_test/src/Controller/TestController.php \Drupal\httpkernel_test\Controller\TestController::get()
- 10 core/modules/system/tests/modules/http_kernel_test/src/Controller/TestController.php \Drupal\http_kernel_test\Controller\TestController::get()
- 11.x core/modules/system/tests/modules/http_kernel_test/src/Controller/TestController.php \Drupal\http_kernel_test\Controller\TestController::get()
Return an empty response.
1 string reference to 'TestController::get'
- httpkernel_test.routing.yml in core/
modules/ system/ tests/ modules/ httpkernel_test/ httpkernel_test.routing.yml - core/modules/system/tests/modules/httpkernel_test/httpkernel_test.routing.yml
File
-
core/
modules/ system/ tests/ modules/ httpkernel_test/ src/ Controller/ TestController.php, line 15
Class
- TestController
- A test controller.
Namespace
Drupal\httpkernel_test\ControllerCode
public function get() {
return new Response();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.