Recipient
in package
implements
EmailRecipientInterface, SmsRecipientInterface
Uses
EmailRecipientTrait, SmsRecipientTrait
Tags
Table of Contents
Interfaces
Properties
Methods
- __construct() : mixed
- email() : $this
- getEmail() : string
- getPhone() : string
- phone() : $this
- Sets the phone number (no spaces, international code like in +3312345678).
Properties
private
string
$email
$phone
private
string
$phone
Methods
__construct()
public
__construct([string $email = '' ][, string $phone = '' ]) : mixed
Parameters
- $email : string = ''
- $phone : string = ''
email()
public
email(string $email) : $this
Parameters
- $email : string
Return values
$thisgetEmail()
public
getEmail() : string
Return values
stringgetPhone()
public
getPhone() : string
Return values
stringphone()
Sets the phone number (no spaces, international code like in +3312345678).
public
phone(string $phone) : $this
Parameters
- $phone : string