You are here

public function ContainerInterface::hasParameter in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/ContainerInterface.php \Symfony\Component\DependencyInjection\ContainerInterface::hasParameter()

Checks if a parameter exists.

Parameters

string $name The parameter name:

Return value

bool The presence of parameter in container

2 methods override ContainerInterface::hasParameter()
Container::hasParameter in vendor/symfony/dependency-injection/Container.php
Checks if a parameter exists.
Container::hasParameter in core/lib/Drupal/Component/DependencyInjection/Container.php
Checks if a parameter exists.

File

vendor/symfony/dependency-injection/ContainerInterface.php, line 83

Class

ContainerInterface
ContainerInterface is the interface implemented by service container classes.

Namespace

Symfony\Component\DependencyInjection

Code

public function hasParameter($name);