Copied!

CartQuery

CartQuery.php : 11

Constants

publicDEFAULT_LIMIT

CartQuery.php : 13
public mixed DEFAULT_LIMIT = 25

Methods

public__construct()

CartQuery.php : 21
public __construct([int $offset = 0 ][, int $limit = self::DEFAULT_LIMIT ][, int|null $ownerId = null ])

Parameters

Name Type Default value Description
$offset int 0 -
$limit int CartQuery::DEFAULT_LIMIT -
$ownerId int|null null -

publicgetLimit()

CartQuery.php : 41
public getLimit() : int

Return values

int

publicgetOffset()

CartQuery.php : 31
public getOffset() : int

Return values

int

publicgetOwnerId()

CartQuery.php : 51
public getOwnerId() : int|null

Return values

int|null

publicsetLimit()

CartQuery.php : 46
public setLimit(int $limit) : void

Parameters

Name Type Default value Description
$limit int - -

publicsetOffset()

CartQuery.php : 36
public setOffset(int $offset) : void

Parameters

Name Type Default value Description
$offset int - -

publicsetOwnerId()

CartQuery.php : 56
public setOwnerId(int|null $ownerId) : void

Parameters

Name Type Default value Description
$ownerId int|null - -