function ConfigurableRequirementsInterface::setStrictRequirements
Enables or disables the exception on incorrect parameters. Passing null will deactivate the requirements check completely.
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 44
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(?bool $enabled) : void;