ProviderContact
in package
Provider contact details for a service.
Table of Contents
Properties
Methods
- fromJson() : mixed
- Generate a `ProviderContact` object from an array.
- getEmail() : mixed
- Getter.
- getLink() : mixed
- Getter.
- getPhone() : mixed
- Getter.
- setEmail() : mixed
- Setter.
- setLink() : mixed
- Setter.
- setPhone() : mixed
- Setter.
- toJson() : mixed
- Create a JSON representation of this object.
Properties
Email address.
private
string
$email
$link
Contact URL.
private
string
$link
$phone
Phone contact.
private
string
$phone
Methods
fromJson()
Generate a `ProviderContact` object from an array.
public
static fromJson(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
getEmail()
Getter.
public
getEmail() : mixed
Tags
getLink()
Getter.
public
getLink() : mixed
Tags
getPhone()
Getter.
public
getPhone() : mixed
Tags
setEmail()
Setter.
public
setEmail(string $email) : mixed
Parameters
- $email : string
Tags
setLink()
Setter.
public
setLink(string $link) : mixed
Parameters
- $link : string
Tags
setPhone()
Setter.
public
setPhone(string $phone) : mixed
Parameters
- $phone : string
Tags
toJson()
Create a JSON representation of this object.
public
toJson() : mixed