Documentation

SmsMessage
in package
implements MessageInterface

FinalYes
Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

Interfaces

MessageInterface

Properties

$phone  : string
$subject  : string
$transport  : string|null

Methods

__construct()  : mixed
fromNotification()  : self
getOptions()  : MessageOptionsInterface|null
getPhone()  : string
getRecipientId()  : string
getSubject()  : string
getTransport()  : string|null
phone()  : $this
subject()  : $this
transport()  : $this

Properties

$transport

private string|null $transport = null

Methods

__construct()

public __construct(string $phone, string $subject) : mixed
Parameters
$phone : string
$subject : string

getPhone()

public getPhone() : string
Return values
string

getRecipientId()

public getRecipientId() : string
Return values
string

getSubject()

public getSubject() : string
Return values
string

getTransport()

public getTransport() : string|null
Return values
string|null

phone()

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

subject()

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

transport()

public transport(string|null $transport) : $this
Parameters
$transport : string|null
Return values
$this

        
On this page

Search results