[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/symfony/http-foundation/Session/Attribute/ -> NamespacedAttributeBag.php (summary)

(no description)

File Size: 159 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

NamespacedAttributeBag:: (7 methods):
  __construct()
  has()
  get()
  set()
  remove()
  resolveAttributePath()
  resolveKey()


Class: NamespacedAttributeBag  - X-Ref

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

__construct($storageKey = '_sf2_attributes', $namespaceCharacter = '/')   X-Ref

param: string $storageKey         Session storage key
param: string $namespaceCharacter Namespace character to use in keys

has($name)   X-Ref
{@inheritdoc}


get($name, $default = null)   X-Ref
{@inheritdoc}


set($name, $value)   X-Ref
{@inheritdoc}


remove($name)   X-Ref
{@inheritdoc}


resolveAttributePath($name, $writeContext = false)   X-Ref
Resolves a path in attributes property and returns it as a reference.

This method allows structured namespacing of session attributes.

param: string $name         Key name
param: bool   $writeContext Write context, default false
return: array

resolveKey($name)   X-Ref
Resolves the key from the name.

This is the last part in a dot separated string.

param: string $name
return: string



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1