You are here

public function UrlGenerator::isStrictRequirements in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/symfony/routing/Generator/UrlGenerator.php \Symfony\Component\Routing\Generator\UrlGenerator::isStrictRequirements()
  2. 8.0 core/lib/Drupal/Core/Routing/UrlGenerator.php \Drupal\Core\Routing\UrlGenerator::isStrictRequirements()
Same name and namespace in other branches
  1. 8 vendor/symfony/routing/Generator/UrlGenerator.php \Symfony\Component\Routing\Generator\UrlGenerator::isStrictRequirements()

Returns whether to throw an exception on incorrect parameters. Null means the requirements check is deactivated completely.

Return value

bool|null

Overrides ConfigurableRequirementsInterface::isStrictRequirements

File

vendor/symfony/routing/Generator/UrlGenerator.php, line 119

Class

UrlGenerator
UrlGenerator can generate a URL or a path for any route in the RouteCollection based on the passed parameters.

Namespace

Symfony\Component\Routing\Generator

Code

public function isStrictRequirements() {
  return $this->strictRequirements;
}