ParameterBagInterface

ParameterBagInterface

interface ParameterBagInterface

ParameterBagInterface.

Methods

clear()

Clears all parameters.

add(array $parameters)

Adds parameters to the service container parameters.

array all()

Gets the service container parameters.

mixed get(string $name)

Gets a service container parameter.

remove(string $name)

Removes a parameter.

set(string $name, mixed $value)

Sets a service container parameter.

b