NewsletterSubscriptionParametersGroup
extends ParametersGroup
in package
This is the Newsletter Subscription parameters group class.
Tags
Table of Contents
: string | ||
$subscriptionData | : array<string|int, mixed> | |
$validator | : ParametersValidator | |
getEmail() | Returns the email value. | : string |
setEmail() | Sets the email parameter for this parameters group. | : void |
setSubscriptionData() | Sets the subscriptionData 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() | : NewsletterSubscriptionParametersValidator |
Properties
protected
string
$email
$subscriptionData
protected
array<string|int, mixed>
$subscriptionData
$validator
protected
ParametersValidator
$validator
Methods
getEmail()
Returns the email value.
public
getEmail() : string
Return values
string —setEmail()
Sets the email parameter for this parameters group.
public
setEmail(string $email) : void
Parameters
- $email : string
Return values
void —setSubscriptionData()
Sets the subscriptionData parameter for this parameters group.
public
setSubscriptionData(array<string|int, mixed> $subscriptionData) : void
Parameters
- $subscriptionData : 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> —getInstantiatedValidator()
protected
getInstantiatedValidator() : ParametersValidator
Return values
ParametersValidator —getValidator()
protected
getValidator() : NewsletterSubscriptionParametersValidator