class MockInvokeController

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php \Drupal\Tests\Core\Controller\MockInvokeController
  2. 8.9.x core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php \Drupal\Tests\Core\Controller\MockInvokeController
  3. 11.x 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 257

Namespace

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

}

Members

Title Sort descending Modifiers Object type Summary
MockInvokeController::__invoke public function

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.