Passed
Push — dev5a ( 720ced...bf2271 )
by Ron
07:37
created

TestEmail::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 3
Bugs 0 Features 0
Metric Value
cc 1
eloc 0
nc 1
nop 0
dl 0
loc 2
ccs 0
cts 1
cp 0
crap 2
rs 10
c 3
b 0
f 0
1
<?php
2
3
namespace App\Mail;
4
5
use Illuminate\Bus\Queueable;
6
use Illuminate\Contracts\Queue\ShouldQueue;
7
use Illuminate\Mail\Mailable;
8
use Illuminate\Queue\SerializesModels;
9
10
class TestEmail extends Mailable
11
{
12
    use Queueable, SerializesModels;
1 ignored issue
show
introduced by
The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by App\Mail\TestEmail: $id, $relations, $class, $keyBy
Loading history...
13
14
    /**
15
     * Create a new message instance.
16
     *
17
     * @return void
18
     */
19
    public function __construct()
20
    {
21
        //
22
    }
23
24
    /**
25
     * Build the message.
26
     *
27
     * @return $this
28
     */
29
    public function build()
30
    {
31
        return $this->subject('Test Email From '.config('app.name'))->markdown('email.testEmail');
32
    }
33
}
34