ParameterBag

ParameterBag

class ParameterBag implements IteratorAggregate, Countable

ParameterBag is a container for key/value pairs.

Methods

__construct(array $parameters = array())

Constructor.

array all()

Returns the parameters.

array keys()

Returns the parameter keys.

replace(array $parameters = array())

Replaces the current parameters by a new set.

登录查看完整内容