You are here

PathEncodedTestController.php in Drupal 9

File

core/modules/system/tests/modules/path_encoded_test/src/Controller/PathEncodedTestController.php
View source
<?php

namespace Drupal\path_encoded_test\Controller;

use Symfony\Component\HttpFoundation\Response;

/**
 * Returns responses for path_encoded_test routes.
 */
class PathEncodedTestController {

  /**
   * Returns an HTML simple response.
   *
   * @return \Symfony\Component\HttpFoundation\Response
   */
  public function simple() {
    return new Response('<html><body>PathEncodedTestController works</body></html>');
  }

}

Classes

Namesort descending Description
PathEncodedTestController Returns responses for path_encoded_test routes.