You are here

public function ParameterBagInterface::has in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/ParameterBag/ParameterBagInterface.php \Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface::has()

Returns true if a parameter name is defined.

@api

Parameters

string $name The parameter name:

Return value

bool true if the parameter name is defined, false otherwise

1 method overrides ParameterBagInterface::has()
ParameterBag::has in modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/ParameterBag/ParameterBag.php
Returns true if a parameter name is defined.

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/ParameterBag/ParameterBagInterface.php, line 82

Class

ParameterBagInterface
ParameterBagInterface.

Namespace

Symfony\Component\DependencyInjection\ParameterBag

Code

public function has($name);