AttributeBagInterface::replace()

replace(array $attributes) Sets attributes. Parameters array $attributes Attributes

AttributeBagInterface::all()

array all() Returns attributes. Return Value array Attributes

AttributeBag::replace()

replace(array $attributes) Sets attributes. Parameters array $attributes Attributes

AttributeBagInterface

interface AttributeBagInterface implements SessionBagInterface Attributes store. Methods string getName() Gets this bag's name. from SessionBagInterface initialize(array $array) Initializes the Bag. from SessionBagInterface string getStorageKey() Gets the storage key for this bag. from SessionBagInterface mixed clear() Clears out data from bag. from SessionBagInterface bool has(string $name) Checks if an attribute is defined. mixed get(string $name, mixed $default =

AttributeBagInterface::has()

bool has(string $name) Checks if an attribute is defined. Parameters string $name The attribute name Return Value bool true if the attribute is defined, false otherwise

AttributeBag::setName()

setName($name) Parameters $name

AttributeBag::has()

bool has(string $name) Checks if an attribute is defined. Parameters string $name The attribute name Return Value bool true if the attribute is defined, false otherwise

AttributeBag::getName()

string getName() Gets this bag's name. Return Value string

AttributeBag::initialize()

initialize(array $attributes) Initializes the Bag. Parameters array $attributes

AttributeBag::getStorageKey()

string getStorageKey() Gets the storage key for this bag. Return Value string