Symfony\Component\HttpFoundation\Session\Attribute\AttributeBagInterface
Attributes store.
- Author: Drak <drak@zikula.org>
Synopsis
interface AttributeBagInterface
extends SessionBagInterface
{
- // methods
- public Boolean has()
- public mixed get()
- public void set()
- public array all()
- public void replace()
- public mixed remove()
- // Inherited methods from SessionBagInterface
- public string getName()
- public void initialize()
- public string getStorageKey()
- public mixed clear()
Hierarchy
Extends
Implemented by
Methods
public
- all() — Returns attributes.
- get() — Returns an attribute.
- has() — Checks if an attribute is defined.
- remove() — Removes an attribute.
- replace() — Sets attributes.
- set() — Sets an attribute.
Inherited from Symfony\Component\HttpFoundation\Session\SessionBagInterface
public
- clear() — Clears out data from bag.
- getName() — Gets this bag's name
- getStorageKey() — Gets the storage key for this bag.
- initialize() — Initializes the Bag