protected function TestableContentAwareGenerator::doGenerate in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony-cmf/routing/Tests/Routing/ContentAwareGeneratorTest.php \Symfony\Cmf\Component\Routing\Tests\Routing\TestableContentAwareGenerator::doGenerate()
Throws
MissingMandatoryParametersException When some parameters are missing that are 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
- vendor/
symfony-cmf/ routing/ Tests/ Routing/ ContentAwareGeneratorTest.php, line 439
Class
- TestableContentAwareGenerator
- Overwrite doGenerate to reduce amount of mocking needed
Namespace
Symfony\Cmf\Component\Routing\Tests\RoutingCode
protected function doGenerate($variables, $defaults, $requirements, $tokens, $parameters, $name, $referenceType, $hostTokens, array $requiredSchemes = array()) {
return 'result_url';
}