BatchesResults
extends Data
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- count() : int
- getFrom() : int
- getIterator() : ArrayIterator
- getLimit() : int
- getNext() : int
- getResults() : array<int, array<string|int, mixed>>
- getTotal() : int
- offsetExists() : bool
- offsetGet() : mixed
- offsetSet() : void
- offsetUnset() : void
- toArray() : array<string|int, mixed>
Properties
$data
protected
mixed
$data
= []
$from
private
int
$from
non-negative-int
$limit
private
int
$limit
non-negative-int
$next
private
int
$next
non-negative-int
$total
private
int
$total
non-negative-int
Methods
__construct()
public
__construct(array<string|int, mixed> $params) : mixed
Parameters
- $params : array<string|int, mixed>
count()
public
count() : int
Return values
intgetFrom()
public
getFrom() : int
Return values
intgetIterator()
public
getIterator() : ArrayIterator
Return values
ArrayIteratorgetLimit()
public
getLimit() : int
Return values
intgetNext()
public
getNext() : int
Return values
intgetResults()
public
getResults() : array<int, array<string|int, mixed>>
Return values
array<int, array<string|int, mixed>>getTotal()
public
getTotal() : int
Return values
intoffsetExists()
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
toArray()
public
toArray() : array<string|int, mixed>