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

AttributeBag::setName()

setName($name) Parameters $name

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

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

AttributeBagInterface::all()

array all() Returns attributes. Return Value array Attributes

AttributeBag::getName()

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

AttributeBag::count()

int count() Returns the number of attributes. Return Value int The number of 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::initialize()

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