Overview

Namespaces

  • Avisota
    • Event
    • Message
    • Queue
    • Recipient
    • RecipientSource
    • Renderer
    • Templating
    • Test
      • Database
      • Imap
      • Message
      • Queue
      • Renderer
      • Transport
    • Transport

Classes

  • MutableRecipient

Interfaces

  • RecipientInterface

Exceptions

  • MutableRecipientDataException
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Interface RecipientInterface

The basic recipient interface.

Direct known implementers

Avisota\Recipient\MutableRecipient
Namespace: Avisota\Recipient
Package: avisota-core
Located at src/Avisota/Recipient/RecipientInterface.php
Methods summary
public string
# getEmail( )

Get the recipient email address.

Get the recipient email address.

Returns

string
public boolean
# hasDetails( )

Check if this recipient has personal data.

Check if this recipient has personal data.

Returns

boolean
public mixed
# get( string $name )

Get a single personal data field value. Return null if the field does not exists.

Get a single personal data field value. Return null if the field does not exists.

Parameters

$name
string
$name

Returns

mixed
public array
# getDetails( )

Get all personal data values as associative array.

Get all personal data values as associative array.

The personal data must have a key 'email', that contains the email address.

array (
    'email' => '...',
    ...
)

Returns

array
public array
# getKeys( )

Get all personal data keys.

Get all personal data keys.

The keys must contain 'email'.

array (
    'email',
    ...
)

Returns

array
avisota/core API documentation generated by ApiGen 2.8.0