refactor: message object properties
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
@@ -20,8 +20,15 @@ use KTXF\Json\JsonSerializable;
|
||||
*/
|
||||
interface AddressInterface extends JsonSerializable {
|
||||
|
||||
public const JSON_PROPERTY_ADDRESS = 'address';
|
||||
public const JSON_PROPERTY_LABEL = 'label';
|
||||
public const PROPERTY_ADDRESS = 'address';
|
||||
public const PROPERTY_LABEL = 'label';
|
||||
|
||||
/*
|
||||
* Converts the Address to an array representation
|
||||
*
|
||||
* @return array<address: string, label: string|null>
|
||||
*/
|
||||
public function toArray(): array;
|
||||
|
||||
/**
|
||||
* Gets the email address
|
||||
|
||||
Reference in New Issue
Block a user