class NamespacedAttributeBag

This class provides structured storage of session attributes using a name spacing character in the key.

@author Drak <drak@zikula.org>

Hierarchy

  • class \Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag implements \Symfony\Component\HttpFoundation\Session\Attribute\IteratorAggregate, \Symfony\Component\HttpFoundation\Session\Attribute\Countable, AttributeBagInterface

Expanded class hierarchy of NamespacedAttributeBag

1 file declares its use of NamespacedAttributeBag

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Attribute/NamespacedAttributeBag.php, line 20

Namespace

Symfony\Component\HttpFoundation\Session\Attribute
View source

Members

Namesort descending Modifiers Type Description Overrides
AttributeBag::$attributes protected property
AttributeBag::$name private property
AttributeBag::$storageKey private property
AttributeBag::all public function Returns attributes. Overrides AttributeBagInterface::all
AttributeBag::clear public function Clears out data from bag. Overrides SessionBagInterface::clear
AttributeBag::count public function Returns the number of attributes.
AttributeBag::getIterator public function Returns an iterator for attributes.
AttributeBag::getName public function Gets this bag's name Overrides SessionBagInterface::getName
AttributeBag::getStorageKey public function Gets the storage key for this bag. Overrides SessionBagInterface::getStorageKey
AttributeBag::initialize public function Initializes the Bag Overrides SessionBagInterface::initialize
AttributeBag::replace public function Sets attributes. Overrides AttributeBagInterface::replace
AttributeBag::setName public function
NamespacedAttributeBag::$namespaceCharacter private property Namespace character.
NamespacedAttributeBag::get public function Returns an attribute. Overrides AttributeBag::get
NamespacedAttributeBag::has public function Checks if an attribute is defined. Overrides AttributeBag::has
NamespacedAttributeBag::remove public function Removes an attribute. Overrides AttributeBag::remove
NamespacedAttributeBag::resolveAttributePath protected function Resolves a path in attributes property and returns it as a reference.
NamespacedAttributeBag::resolveKey protected function Resolves the key from the name.
NamespacedAttributeBag::set public function Sets an attribute. Overrides AttributeBag::set
NamespacedAttributeBag::__construct public function Constructor. Overrides AttributeBag::__construct