QueryParametersGroup
extends ParametersGroup
in package
This is the product model (query resource) parameters group class.
Table of Contents
$comment | : string | |
---|---|---|
: string | ||
$name | : string | |
$phone | : string | |
$validator | : ParametersValidator | |
setComment() | Sets the comment parameter for this parameters group. | : void |
setEmail() | Sets the email parameter for this parameters group. | : void |
setName() | Sets the name parameter for this parameters group. | : void |
setPhone() | Sets the phone 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() | : QueryParametersValidator |
Properties
$comment
protected
string
$comment
protected
string
$email
$name
protected
string
$name
$phone
protected
string
$phone
$validator
protected
ParametersValidator
$validator
Methods
setComment()
Sets the comment parameter for this parameters group.
public
setComment(string $comment) : void
Parameters
- $comment : string
Return values
void —setEmail()
Sets the email parameter for this parameters group.
public
setEmail(string $email) : void
Parameters
- $email : string
Return values
void —setName()
Sets the name parameter for this parameters group.
public
setName(string $name) : void
Parameters
- $name : string
Return values
void —setPhone()
Sets the phone parameter for this parameters group.
public
setPhone(string $phone) : void
Parameters
- $phone : string
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> —getInstantiatedValidator()
protected
getInstantiatedValidator() : ParametersValidator
Return values
ParametersValidator —getValidator()
protected
getValidator() : QueryParametersValidator