Enables or disables the exception on incorrect parameters.
Parameters
Boolean $enabled:
File
- drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Generator/ConfigurableRequirementsInterface.php, line 28
Class
- ConfigurableRequirementsInterface
- ConfigurableRequirementsInterface must be implemented by URL generators in order
to be able to configure whether an exception should be generated when the
parameters do not match the requirements.
Namespace
Symfony\Component\Routing\Generator
Code
public function setStrictRequirements($enabled);