public function Container::hasParameter in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/DependencyInjection/Container.php \Drupal\Component\DependencyInjection\Container::hasParameter()
1 call to Container::hasParameter()
- Container::get in core/
lib/ Drupal/ Component/ DependencyInjection/ Container.php
File
- core/
lib/ Drupal/ Component/ DependencyInjection/ Container.php, line 340
Class
- Container
- Provides a container optimized for Drupal's needs.
Namespace
Drupal\Component\DependencyInjectionCode
public function hasParameter($name) {
return isset($this->parameters[$name]) || array_key_exists($name, $this->parameters);
}