Enables or disables the exception on incorrect parameters.
Passing null will deactivate the requirements check completely.
Parameters
Boolean|null $enabled:
File
- drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Generator/ConfigurableRequirementsInterface.php, line 46
Class
- ConfigurableRequirementsInterface
- ConfigurableRequirementsInterface must be implemented by URL generators that
can be configured whether an exception should be generated when the parameters
do not match the requirements. It is also possible to disable the requirements
check for URL…
Namespace
Symfony\Component\Routing\Generator
Code
public function setStrictRequirements($enabled);