interface MockRouterInterface

Same name and namespace in other branches
  1. 10 core/tests/Drupal/Tests/Core/Routing/AccessAwareRouterTest.php \Drupal\Tests\Core\Routing\MockRouterInterface

Interface used in the mocking process of this test.

Hierarchy

  • interface \Drupal\Tests\Core\Routing\MockRouterInterface extends \Symfony\Component\Routing\RouterInterface

Expanded class hierarchy of MockRouterInterface

All classes that implement MockRouterInterface

File

core/tests/Drupal/Tests/Core/Routing/AccessAwareRouterTest.php, line 155

Namespace

Drupal\Tests\Core\Routing
View source
interface MockRouterInterface extends RouterInterface {
    
    /**
     * Function used in the mocking process of this test.
     *
     * @param \Symfony\Component\Routing\RouterInterface $router
     *   The mocked router.
     */
    public function add(RouterInterface $router);

}

Members

Title Sort descending Modifiers Object type Summary
MockRouterInterface::add public function Function used in the mocking process of this test.

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