CounterState implements Iterator
AbstractYes
Table of Contents
Interfaces
- Iterator
Methods
- current() : mixed
- getClearedDate() : int
- getLoader() : Loader
- getRawCounters() : array<string|int, mixed>
- getSize() : int
- getValue() : int
- init() : void
- isCounted() : bool
- key() : mixed
- next() : void
- resetCache() : void
- rewind() : void
- updateState() : void
- valid() : bool
Methods
current()
public
abstract current() : mixed
Attributes
- #[ReturnTypeWillChange]
getClearedDate()
public
getClearedDate() : int
Return values
intgetLoader()
public
getLoader() : Loader
Return values
LoadergetRawCounters()
public
getRawCounters([string $meta = CounterDictionary::META_PROP_ALL ]) : array<string|int, mixed>
Parameters
- $meta : string = CounterDictionary::META_PROP_ALL
Return values
array<string|int, mixed>getSize()
public
abstract getSize() : int
Return values
intgetValue()
public
getValue(string $name[, int|null $groupId = null ]) : int
Parameters
- $name : string
- $groupId : int|null = null
Return values
intinit()
public
init() : void
isCounted()
public
isCounted() : bool
Return values
boolkey()
public
abstract key() : mixed
Attributes
- #[ReturnTypeWillChange]
next()
public
abstract next() : void
resetCache()
public
resetCache() : void
rewind()
public
abstract rewind() : void
updateState()
public
abstract updateState(array<string|int, mixed> $rawCounters[, array<string|int, mixed> $types = [] ][, array<string|int, mixed> $taskIds = [] ]) : void
Parameters
- $rawCounters : array<string|int, mixed>
- $types : array<string|int, mixed> = []
- $taskIds : array<string|int, mixed> = []
valid()
public
abstract valid() : bool