ProductOptionParametersGroup extends ParametersGroup Uses IdentifiableItemsParametersGroupTrait

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

Table of Contents

$id  : int
$validator  : ParametersValidator
$values  : array<string|int, mixed>
addValue() Adds a new value to the array of values for this parameters group.  : void
setId() Sets the internal identifier parameter for this parameters group.  : void
setValues() Sets an array of values as a 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()  : EditProductOptionParametersValidator

Properties

Methods

setValues()

Sets an array of values as a parameter for this parameters group.

public setValues(array<string|int, mixed> $values) : void
Parameters
$values : array<string|int, mixed>
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