Address
class Address implements Arrayable, JsonSerializable (View source)
Methods
__construct(string $email, string $name)
Constructor.
string
email()
Get the address's email.
string
name()
Get the address's name.
array
toArray()
Get the array representation of the address.
array
jsonSerialize()
Get the JSON representation of the address.
Details
__construct(string $email, string $name)
Constructor.
string
email()
Get the address's email.
string
name()
Get the address's name.
array
toArray()
Get the array representation of the address.
array
jsonSerialize()
Get the JSON representation of the address.