Paginator
in package
Table of Contents
Properties
- $mutations : array<string|int, mixed>
- $pageSize : int
- $timeofFirstGQL : string|null
Methods
- __construct() : mixed
- add() : int
- info() : stdclass
- paginate() : array<string|int, mixed>
- make instance a need so I make clear the intention
- remove() : bool
Properties
$mutations
private
array<string|int, mixed>
$mutations
= []
$pageSize
private
int
$pageSize
$timeofFirstGQL
private
string|null
$timeofFirstGQL
= null
Methods
__construct()
public
__construct([int $pageSize = CLIENTE_DIGITAL_BULK_PAGE_SIZE ]) : mixed
Parameters
- $pageSize : int = CLIENTE_DIGITAL_BULK_PAGE_SIZE
add()
public
add(GQL $gql) : int
Parameters
- $gql : GQL
Return values
intinfo()
public
info() : stdclass
Return values
stdclasspaginate()
make instance a need so I make clear the intention
public
paginate() : array<string|int, mixed>
Return values
array<string|int, mixed>remove()
public
remove(int $gqlId) : bool
Parameters
- $gqlId : int