HermesHSIContact
in package
implements
JsonSerializable
Interfaces, Classes and Traits
- JsonSerializable
Table of Contents
- $mail : string
- $mobile : string
- $phone : string
- __construct() : mixed
- getMail() : string
- getMobile() : string
- getPhone() : string
- jsonSerialize() : mixed
- Specify data which should be serialized to JSON
- setMail() : void
- setMobile() : void
- setPhone() : void
Properties
protected
string
$mail
$mobile
protected
string
$mobile
$phone
protected
string
$phone
Methods
__construct()
public
__construct() : mixed
Return values
mixed —getMail()
public
getMail() : string
Return values
string —getMobile()
public
getMobile() : string
Return values
string —getPhone()
public
getPhone() : string
Return values
string —jsonSerialize()
Specify data which should be serialized to JSON
public
jsonSerialize() : mixed
Tags
Return values
mixed —data which can be serialized by json_encode, which is a value of any type other than a resource.
setMail()
public
setMail(string $mail) : void
Parameters
- $mail : string
Tags
Return values
void —setMobile()
public
setMobile(string $mobile) : void
Parameters
- $mobile : string
Tags
Return values
void —setPhone()
public
setPhone(string $phone) : void
Parameters
- $phone : string