public function ConfigurableRequirementsInterface::setStrictRequirements in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/routing/Generator/ConfigurableRequirementsInterface.php \Symfony\Component\Routing\Generator\ConfigurableRequirementsInterface::setStrictRequirements()
Enables or disables the exception on incorrect parameters. Passing null will deactivate the requirements check completely.
Parameters
bool|null $enabled:
1 method overrides ConfigurableRequirementsInterface::setStrictRequirements()
- UrlGenerator::setStrictRequirements in vendor/
symfony/ routing/ Generator/ UrlGenerator.php - Enables or disables the exception on incorrect parameters. Passing null will deactivate the requirements check completely.
File
- vendor/
symfony/ 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\GeneratorCode
public function setStrictRequirements($enabled);