TestController.php in Zircon Profile 8
Same filename in this branch
- 8 core/tests/Drupal/Tests/Core/Controller/TestController.php
- 8 core/modules/system/tests/modules/httpkernel_test/src/Controller/TestController.php
- 8 core/modules/system/tests/modules/token_test/src/Controller/TestController.php
- 8 core/modules/system/tests/modules/conneg_test/src/Controller/TestController.php
Same filename and directory in other branches
Namespace
Drupal\httpkernel_test\ControllerFile
core/modules/system/tests/modules/httpkernel_test/src/Controller/TestController.phpView source
<?php
/**
 * @file
 * Contains \Drupal\httpkernel_test\Controller\TestController.
 */
namespace Drupal\httpkernel_test\Controller;
use Symfony\Component\HttpFoundation\Response;
/**
 * A test controller.
 */
class TestController {
  /**
   * Return an empty response.
   */
  public function get() {
    return new Response();
  }
}Classes
| Name   | Description | 
|---|---|
| TestController | A test controller. | 
