Symfony\Component\HttpFoundation\Session\Attribute\NamespacedAttributeBag
This class provides structured storage of session attributes using a name spacing character in the key.
- Author: Drak <drak@zikula.org>
Synopsis
class NamespacedAttributeBag
extends AttributeBag
{
- // members
- private string $namespaceCharacter;
- // Inherited members from AttributeBag
- protected array $attributes;
- // methods
- public void __construct()
- public void has()
- public void get()
- public void set()
- public void remove()
- protected array resolveAttributePath()
- protected string resolveKey()
- // Inherited methods from AttributeBag
- 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
Members
private
- $namespaceCharacter
—
string
Namespace character.
protected
- $attributes — array
Methods
protected
- resolveAttributePath() — Resolves a path in attributes property and returns it as a reference.
- resolveKey() — Resolves the key from the name.
public
- __construct() — Constructor.
- get() — {@inheritdoc}
- has() — {@inheritdoc}
- remove() — {@inheritdoc}
- set() — {@inheritdoc}
Inherited from Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag
public
- 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()