TestControllers.php

Definition of Drupal\router_test\TestControllers.

Namespace

Drupal\router_test

File

drupal/core/modules/system/tests/modules/router_test/lib/Drupal/router_test/TestControllers.php
View source
<?php

/**
 * @file
 * Definition of Drupal\router_test\TestControllers.
 */
namespace Drupal\router_test;

use Symfony\Component\HttpFoundation\Response;

/**
 * Controller routines for testing the routing system.
 */
class TestControllers {
  public function test1() {
    return new Response('test1');
  }
  public function test2() {
    return "test2";
  }
  public function test3($value) {
    return $value;
  }
  public function test4($value) {
    return $value;
  }
  public function test5() {
    return "test5";
  }
  public function test6() {
    return new Response('test6');
  }
  public function test7() {
    return new Response('test7text');
  }
  public function test8() {
    return new Response('test8');
  }

}

Classes

Namesort descending Description
TestControllers Controller routines for testing the routing system.