AttributeBagInterface
interface AttributeBagInterface implementsSessionBagInterface
Attributes store.
Methods
bool
has(string$name)
Checks if an attribute is defined.
mixed
get(string$name,mixed$default =null)
Returns an attribute.
void
set(string$name,mixed$value)
Sets an attribute.
array
all()
Returns attributes.
void
replace(array$attributes)
No description
mixed
remove(string$name)
Removes an attribute.