public function ParameterBagInterface::has

Returns true if a parameter name is defined.

@api

Parameters

string $name The parameter name:

Return value

Boolean true if the parameter name is defined, false otherwise

1 method overrides ParameterBagInterface::has()
ParameterBag::has in drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ParameterBag/ParameterBag.php
Returns true if a parameter name is defined.

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ParameterBag/ParameterBagInterface.php, line 82

Class

ParameterBagInterface
ParameterBagInterface.

Namespace

Symfony\Component\DependencyInjection\ParameterBag

Code

public function has($name);