RateParametersGroup extends ParametersGroup

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

Table of Contents

$rating  : int
$validator  : ParametersValidator
setRating() Sets the rating 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()  : RateParametersValidator

Properties

Methods

setRating()

Sets the rating parameter for this parameters group.

public setRating(int $rating) : void
Parameters
$rating : 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