TestResponseController.php
Same filename in other branches
Namespace
Drupal\http_middleware_test\ControllerFile
-
core/
modules/ system/ tests/ modules/ http_middleware_test/ src/ Controller/ TestResponseController.php
View source
<?php
declare (strict_types=1);
namespace Drupal\http_middleware_test\Controller;
use Symfony\Component\HttpFoundation\Response;
/**
* Controller routines for http_middleware_test routes.
*/
final class TestResponseController {
/**
* Returns a test response.
*/
public function testResponse() : Response {
return new Response('<html><body><p>Mangoes</p></body></html>');
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
TestResponseController | Controller routines for http_middleware_test routes. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.