Documentation

ProviderContact
in package

Provider contact details for a service.

Table of Contents

Properties

$email  : string
Email address.
$link  : string
Contact URL.
$phone  : string
Phone contact.

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

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
codeCoverageIgnore

getPhone()

Getter.

public getPhone() : mixed
Tags
codeCoverageIgnore

setEmail()

Setter.

public setEmail(string $email) : mixed
Parameters
$email : string
Tags
codeCoverageIgnore

Setter.

public setLink(string $link) : mixed
Parameters
$link : string
Tags
codeCoverageIgnore

setPhone()

Setter.

public setPhone(string $phone) : mixed
Parameters
$phone : string
Tags
codeCoverageIgnore

toJson()

Create a JSON representation of this object.

public toJson() : mixed

        
On this page

Search results