protected function TestableProviderBasedGenerator::doGenerate

Throws

MissingMandatoryParametersException When some parameters are missing that mandatory for the route

InvalidParameterException When a parameter value for a placeholder is not correct because it does not match the requirement

Overrides UrlGenerator::doGenerate

File

drupal/core/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/Tests/Routing/ProviderBasedGeneratorTest.php, line 97

Class

TestableProviderBasedGenerator
Overwrite doGenerate to reduce amount of mocking needed

Namespace

Symfony\Cmf\Component\Routing\Tests\Routing

Code

protected function doGenerate($variables, $defaults, $requirements, $tokens, $parameters, $name, $absolute, $hostTokens = null) {
  return 'result_url';
}