HermesHSIContact

Implements \JsonSerializable

package

Default

Methods

__construct

__construct() 

getMail

getMail() : string

Response

string

getMobile

getMobile() : string

Response

string

getPhone

getPhone() : string

Response

string

Specify data which should be serialized to JSON

jsonSerialize() : mixed
link

https://php.net/manual/en/jsonserializable.jsonserialize.php

since 5.4.0

Response

mixed

data which can be serialized by json_encode, which is a value of any type other than a resource.

setMail

setMail(string $mail) 
Throws
\HermesHSIInvalidDataException

Arguments

$mail

string

setMobile

setMobile(string $mobile) 
Throws
\HermesHSIInvalidDataException

Arguments

$mobile

string

setPhone

setPhone(string $phone) 
Throws
\HermesHSIInvalidDataException

Arguments

$phone

string

Properties

mail

mail : string
var

Type(s)

string

mobile

mobile : string
var

Type(s)

string

phone

phone : string
var

Type(s)

string