You are here

public function ParameterBagInterface::add in Zircon Profile 8

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

Adds parameters to the service container parameters.

Parameters

array $parameters An array of parameters:

Throws

LogicException if the parameter can not be added

1 method overrides ParameterBagInterface::add()
ParameterBag::add in vendor/symfony/dependency-injection/ParameterBag/ParameterBag.php
Adds parameters to the service container parameters.

File

vendor/symfony/dependency-injection/ParameterBag/ParameterBagInterface.php, line 38

Class

ParameterBagInterface
ParameterBagInterface.

Namespace

Symfony\Component\DependencyInjection\ParameterBag

Code

public function add(array $parameters);