ICanBoogie
  • Documentation
  • API Reference
  • bind-mailer 0.1.x
Namespaces
  • ICanBoogie
    • Binding
      • Mailer
Classes
  • BeforeMailEvent
  • Hooks
  • MailEvent
Traits
  • CoreBindings

Class BeforeMailEvent

Event class for the <class>::mail:before event.

Third parties may use this event to alter the message or the mailer used to send the message.

ICanBoogie\Event
┗ ICanBoogie\Binding\Mailer\BeforeMailEvent
Namespace: ICanBoogie\Binding\Mailer
Located at BeforeMailEvent.php

Methods summary

public __construct( object $target, ICanBoogie\Mailer\Message & $message, ICanBoogie\Mailer\Mailer & $mailer )

The event is constructed with the type mail:before.

The event is constructed with the type mail:before.

Parameters

$target
The sender of the message.
$message
Reference to the message about to be sent.
$mailer
Reference to the mailer that will be used to send the message.

Properties summary

public $message : ICanBoogie\Mailer\Message

Reference to the message about to be sent.

Reference to the message about to be sent.


		
public $mailer : ICanBoogie\Mailer\Mailer

Reference to the mailer that will be used to send the message.

Reference to the mailer that will be used to send the message.


		
bind-mailer 0.1.x – Check on GitHub – API documentation generated by ApiGen