You are here

TestController.php in Drupal 10

File

core/modules/system/tests/modules/httpkernel_test/src/Controller/TestController.php
View source
<?php

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

Namesort descending Description
TestController A test controller.