You are here

class MockInvokeController in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php \Drupal\Tests\Core\Controller\MockInvokeController
  2. 9 core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php \Drupal\Tests\Core\Controller\MockInvokeController

Hierarchy

Expanded class hierarchy of MockInvokeController

File

core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php, line 243
Contains \Drupal\Tests\Core\Controller\ControllerResolverTest.

Namespace

Drupal\Tests\Core\Controller
View source
class MockInvokeController {
  public function __invoke() {
    return 'This used __invoke().';
  }

}

Members