public function ParameterBag::has in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/http-foundation/ParameterBag.php \Symfony\Component\HttpFoundation\ParameterBag::has()
- 8 vendor/symfony/dependency-injection/ParameterBag/ParameterBag.php \Symfony\Component\DependencyInjection\ParameterBag\ParameterBag::has()
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/ParameterBag/ParameterBag.php \Symfony\Component\DependencyInjection\ParameterBag\ParameterBag::has()
Returns true if a parameter name is defined.
Parameters
string $name The parameter name:
Return value
bool true if the parameter name is defined, false otherwise
Overrides ParameterBagInterface::has
File
- vendor/
symfony/ dependency-injection/ ParameterBag/ ParameterBag.php, line 118
Class
- ParameterBag
- Holds parameters.
Namespace
Symfony\Component\DependencyInjection\ParameterBagCode
public function has($name) {
return array_key_exists(strtolower($name), $this->parameters);
}