EditBundleParametersGroup extends BundleParametersGroup

This is the basket model (edit bundle resource) parameters group class.

Table of Contents

$items  : array<string|int, mixed>
$quantity  : int
$validator  : ParametersValidator
addItem() Adds a new items to the array of items for this parameters group.  : void
setItems() Sets an array of items as a parameter for this parameters group.  : void
setQuantity() Sets the quantity parameter for this parameters group.  : void
toArray() Returns the object data on array format.  : array<string|int, mixed>
filter()  : array<string|int, mixed>
getInstantiatedValidator()  : ParametersValidator
getValidator() {@inheritdoc}  : EditBundleParametersValidator

Properties

Methods

setQuantity()

Sets the quantity parameter for this parameters group.

public setQuantity(int $quantity) : void
Parameters
$quantity : int
Return values
void

toArray()

Returns the object data on array format.

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

filter()

protected filter(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
$params : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results