SessionLocalStorage implements ArrayAccess, Countable, IteratorAggregate
FinalYes
Table of Contents
Interfaces
- ArrayAccess
- Countable
- IteratorAggregate
Methods
- __construct() : mixed
- clear() : void
- count() : int
- get() : mixed
- getData() : array<string|int, mixed>
- getIterator() : ArrayIterator
- getName() : string
- getUniqueName() : string
- offsetExists() : bool
- offsetGet() : mixed
- offsetSet() : void
- offsetUnset() : void
- set() : self
- setData() : $this
- setUniqueName() : SessionLocalStorage
Methods
__construct()
public
__construct(string $uniqueName, string $name) : mixed
Parameters
- $uniqueName : string
- $name : string
clear()
public
clear() : void
count()
public
count() : int
Return values
intget()
public
& get(mixed $key) : mixed
Parameters
- $key : mixed
getData()
public
getData() : array<string|int, mixed>
Return values
array<string|int, mixed>getIterator()
public
getIterator() : ArrayIterator
Return values
ArrayIteratorgetName()
public
getName() : string
Return values
stringgetUniqueName()
public
getUniqueName() : string
Return values
stringoffsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Return values
booloffsetGet()
public
& offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
Attributes
- #[ReturnTypeWillChange]
offsetSet()
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
offsetUnset()
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed
set()
public
set(mixed $key, mixed $value) : self
Parameters
- $key : mixed
- $value : mixed
Return values
selfsetData()
public
setData(array<string|int, mixed> $data) : $this
Parameters
- $data : array<string|int, mixed>
Return values
$thissetUniqueName()
public
setUniqueName(string $uniqueName) : SessionLocalStorage
Parameters
- $uniqueName : string