Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 8
0.00% covered (danger)
0.00%
0 / 4
CRAP
0.00% covered (danger)
0.00%
0 / 1
AdminCenterReactivateUserNotification
0.00% covered (danger)
0.00%
0 / 8
0.00% covered (danger)
0.00%
0 / 4
20
0.00% covered (danger)
0.00%
0 / 1
 __construct
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 envelope
0.00% covered (danger)
0.00%
0 / 3
0.00% covered (danger)
0.00%
0 / 1
2
 content
0.00% covered (danger)
0.00%
0 / 3
0.00% covered (danger)
0.00%
0 / 1
2
 attachments
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3namespace App\Mail;
4
5use Illuminate\Bus\Queueable;
6use Illuminate\Contracts\Queue\ShouldQueue;
7use Illuminate\Mail\Mailable;
8use Illuminate\Mail\Mailables\Content;
9use Illuminate\Mail\Mailables\Envelope;
10use Illuminate\Queue\SerializesModels;
11
12class AdminCenterReactivateUserNotification extends Mailable
13{
14    use Queueable, SerializesModels;
15
16    /**
17     * Create a new message instance.
18     */
19    public function __construct(
20        public string $email,
21        public string $companyEmail,
22        public string $companyName,
23        public string $emailSubject = "Take Action : A new user has been reactivated"
24    ) {}
25
26    /**
27     * Get the message envelope.
28     */
29    public function envelope(): Envelope
30    {
31        return new Envelope(
32            subject: $this->emailSubject,
33        );
34    }
35
36    /**
37     * Get the message content definition.
38     */
39    public function content(): Content
40    {
41        return new Content(
42            view: 'mail.admin.cmc_reactivate_user_notification',
43        );
44    }
45
46    /**
47     * Get the attachments for the message.
48     *
49     * @return array<int, \Illuminate\Mail\Mailables\Attachment>
50     */
51    public function attachments(): array
52    {
53        return [];
54    }
55}