Container::hasParameter

public Container::hasParameter($name)

File

core/lib/Drupal/Component/DependencyInjection/Container.php, line 397

Class

Container
Provides a container optimized for Drupal's needs.

Namespace

Drupal\Component\DependencyInjection

Code

public function hasParameter($name) {
  return isset($this->parameters[$name]) || array_key_exists($name, $this->parameters);
}
doc_Drupal
2016-10-29 08:56:38
Comments
Leave a Comment

Please login to continue.