function MockRouterInterface::add

Same name in other branches
  1. 11.x core/tests/Drupal/Tests/Core/Routing/AccessAwareRouterTest.php \Drupal\Tests\Core\Routing\MockRouterInterface::add()

Function used in the mocking process of this test.

Parameters

\Symfony\Component\Routing\RouterInterface $router: The mocked router.

File

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

Class

MockRouterInterface
Interface used in the mocking process of this test.

Namespace

Drupal\Tests\Core\Routing

Code

public function add(RouterInterface $router);

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