Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag
This class relates to session attribute storage
Synopsis
class AttributeBag
implements
AttributeBagInterface,IteratorAggregate,Countable
{
- // members
- private string $name;
- private string $storageKey;
- protected array $attributes;
- // methods
- public void __construct()
- public void getName()
- public void setName()
- public void initialize()
- public void getStorageKey()
- public void has()
- public void get()
- public void set()
- public void all()
- public void replace()
- public void remove()
- public void clear()
- public ArrayIterator getIterator()
- public int count()
Hierarchy
Extended by
Implements
Members
private
- $name
- $storageKey — string
protected
- $attributes — array
Methods
public
- __construct() — Constructor.
- all() — {@inheritdoc}
- clear() — {@inheritdoc}
- count() — Returns the number of attributes.
- get() — {@inheritdoc}
- getIterator() — Returns an iterator for attributes.
- getName() — {@inheritdoc}
- getStorageKey() — {@inheritdoc}
- has() — {@inheritdoc}
- initialize() — {@inheritdoc}
- remove() — {@inheritdoc}
- replace() — {@inheritdoc}
- set() — {@inheritdoc}
- setName()