ParameterBag

ParameterBag

class ParameterBag implements ParameterBagInterface

Holds parameters.

Methods

__construct(array $parameters = array())
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.

登录查看完整内容