public function ConfigurableRequirementsInterface::setStrictRequirements

Enables or disables the exception on incorrect parameters.

Parameters

Boolean $enabled:

1 method overrides ConfigurableRequirementsInterface::setStrictRequirements()
UrlGenerator::setStrictRequirements in drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Generator/UrlGenerator.php
Enables or disables the exception on incorrect parameters.

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);