AttributeBagInterface::remove()

mixed remove(string $name) Removes an attribute. Parameters string $name Return Value mixed The removed value or null when it does not exist

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

AttributeBagInterface::all()

array all() Returns attributes. Return Value array 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 =

AttributeBag::setName()

setName($name) Parameters $name

AttributeBag::replace()

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

AttributeBag::remove()

mixed remove(string $name) Removes an attribute. Parameters string $name Return Value mixed The removed value or null when it does not exist

AttributeBag::initialize()

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

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::getStorageKey()

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