Menu

## AdminBirthdayReminderEventListener
in package
implements ShouldQueue uses ReminderProcess

AdminBirthdayReminderEventListener.php : 10

### Table of Contents

#### Interfaces

ShouldQueue

#### Methods

__construct() : void
  Create the event listener.
createReminder() : void
  Create a reminder entry for later dispatch.
handle() : void
  Handle the event.

### Methods

#### __construct()

AdminBirthdayReminderEventListener.php : 19

Create the event listener.

`public __construct() : void`

#### createReminder()

ReminderProcess.php : 34

Create a reminder entry for later dispatch.

`public createReminder(int $school_id, string $from, string $to, string $subject, string $message, int $entity_id, string $entity_name, string $via, mixed $data, string $executed_at) : void`

##### Parameters

$school_id : int

  School identifier

$from : string

  Sender address

$to : string

  Recipient address

$subject : string

  Reminder subject

$message : string

  Reminder body

$entity_id : int

  Related entity identifier

$entity_name : string

  Related entity model name

$via : string

  Delivery channel (notification, sms, mail)

$data : mixed

  Additional payload to store with reminder

$executed_at : string

  Scheduled execution datetime

#### handle()

AdminBirthdayReminderEventListener.php : 30

Handle the event.

`public handle(AdminBirthdayReminderEvent $event) : void`

##### Parameters

$event : AdminBirthdayReminderEvent

## Search results