__construct() __construct(string $storageKey = '_sf2_attributes') : mixed Parameters string $storageKey The key used to store attributes in the session Returns mixed —
initialize() initialize(array $attributes) : mixed {@inheritdoc} Parameters array $attributes Returns mixed —
has() has(string $name) : bool Checks if an attribute is defined. Parameters string $name Returns bool —
get() get(string $name, mixed $default = null) : mixed Returns an attribute. Parameters string $name mixed $default The default value if not found Returns mixed —
set() set(string $name, mixed $value) : mixed Sets an attribute. Parameters string $name mixed $value Returns mixed —
remove() remove(string $name) : mixed Removes an attribute. Parameters string $name Returns mixed — The removed value or null when it does not exist
getIterator() getIterator() : \ArrayIterator<string,mixed> Returns an iterator for attributes. Returns \ArrayIterator —