Documentation

Recipient
in package
implements EmailRecipientInterface, SmsRecipientInterface Uses EmailRecipientTrait, SmsRecipientTrait

Tags
author

Fabien Potencier fabien@symfony.com

author

Jan Schädlich jan.schaedlich@sensiolabs.de

Table of Contents

Interfaces

EmailRecipientInterface
SmsRecipientInterface

Properties

$email  : string
$phone  : string

Methods

__construct()  : mixed
email()  : $this
getEmail()  : string
getPhone()  : string
phone()  : $this
Sets the phone number (no spaces, international code like in +3312345678).

Properties

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
$this

phone()

Sets the phone number (no spaces, international code like in +3312345678).

public phone(string $phone) : $this
Parameters
$phone : string
Return values
$this

        
On this page

Search results