Documentation

StorageType
in package

Class representing StorageType.

XSD Type: storageType

Table of Contents

$itemStorage  : array<string|int, mixed>
$version  : string|null
addToItemStorage()  : self
Adds as itemStorage.
getItemStorage()  : array<string|int, ItemStorageType>
Gets as itemStorage.
getVersion()  : string
Gets as version.
issetItemStorage()  : bool
isset itemStorage.
setItemStorage()  : self
Sets a new itemStorage.
setVersion()  : self
Sets a new version.
unsetItemStorage()  : void
unset itemStorage.

Properties

$itemStorage

private array<string|int, mixed> $itemStorage = []

Methods

getVersion()

Gets as version.

public getVersion() : string
Return values
string

issetItemStorage()

isset itemStorage.

public issetItemStorage(int|string $index) : bool
Parameters
$index : int|string
Return values
bool

setItemStorage()

Sets a new itemStorage.

public setItemStorage(array<string|int, ItemStorageType$itemStorage) : self
Parameters
$itemStorage : array<string|int, ItemStorageType>
Return values
self

setVersion()

Sets a new version.

public setVersion(string $version) : self
Parameters
$version : string
Return values
self

unsetItemStorage()

unset itemStorage.

public unsetItemStorage(int|string $index) : void
Parameters
$index : int|string
Return values
void

Search results