public function ParameterBagInterface::has in Service Container 7.2
Same name and namespace in other branches
- 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\ParameterBagCode
public function has($name);