Menu

## SubscriptionExpiredMail extends Mailable
in package
implements ShouldQueue uses Queueable, SerializesModels

SubscriptionExpiredMail.php : 20

SubscriptionExpiredMail

Mailable class for sending subscription expiration alerts. Notifies administrators when a school's subscription is expiring and needs renewal.

### Table of Contents

#### Interfaces

ShouldQueue

#### Properties

$subscription : Subscription
  The subscription instance

#### Methods

__construct() : void
  Create a new message instance.
build() : $this
  Build the message.

### Properties

#### $subscription

SubscriptionExpiredMail.php : 29

The subscription instance

`public Subscription $subscription`

### Methods

#### __construct()

SubscriptionExpiredMail.php : 37

Create a new message instance.

`public __construct(Subscription $subscription) : void`

##### Parameters

$subscription : Subscription

  The expiring subscription

#### build()

SubscriptionExpiredMail.php : 51

Build the message.

`public build() : $this`

Retrieves the expiration alert template and replaces placeholders with school name, user name, expiration date, and renewal URL.

##### Return values

$this

## Search results