function ParameterBag::has
Same name in this branch
- 11.1.x vendor/symfony/dependency-injection/ParameterBag/ParameterBag.php \Symfony\Component\DependencyInjection\ParameterBag\ParameterBag::has()
Returns true if the parameter is defined.
1 call to ParameterBag::has()
- InputBag::filter in vendor/
symfony/ http-foundation/ InputBag.php - Filter key.
File
-
vendor/
symfony/ http-foundation/ ParameterBag.php, line 86
Class
- ParameterBag
- ParameterBag is a container for key/value pairs.
Namespace
Symfony\Component\HttpFoundationCode
public function has(string $key) : bool {
return \array_key_exists($key, $this->parameters);
}