You are here

TestController.php in Zircon Profile 8

File

core/tests/Drupal/Tests/Core/Controller/TestController.php
View source
<?php

/**
 * @file
 * Contains \Drupal\Tests\Core\Controller\TestController.
 */
namespace Drupal\Tests\Core\Controller;

use Symfony\Component\HttpFoundation\Response;

/**
 * Defines a test controller used by unit tests.
 */
class TestController {

  /**
   * Returns test content for unit tests.
   */
  public function content() {
    return new Response('');
  }

}

Classes

Namesort descending Description
TestController Defines a test controller used by unit tests.