class AttributeBag

This class relates to session attribute storage

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 AttributeBag

7 files declare their use of AttributeBag

File

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

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::get public function Returns an attribute. Overrides AttributeBagInterface::get 1
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::has public function Checks if an attribute is defined. Overrides AttributeBagInterface::has 1
AttributeBag::initialize public function Initializes the Bag Overrides SessionBagInterface::initialize
AttributeBag::remove public function Removes an attribute. Overrides AttributeBagInterface::remove 1
AttributeBag::replace public function Sets attributes. Overrides AttributeBagInterface::replace
AttributeBag::set public function Sets an attribute. Overrides AttributeBagInterface::set 1
AttributeBag::setName public function
AttributeBag::__construct public function Constructor. 1