Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 4 |
|
0.00% |
0 / 4 |
CRAP | |
0.00% |
0 / 1 |
SendEmailMessage | |
0.00% |
0 / 4 |
|
0.00% |
0 / 4 |
20 | |
0.00% |
0 / 1 |
__construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getTo | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getSubject | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getContent | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace Olz\Message; |
4 | |
5 | class SendEmailMessage { |
6 | public function __construct( |
7 | private string $to, |
8 | private string $subject, |
9 | private string $content, |
10 | ) { |
11 | } |
12 | |
13 | public function getTo(): string { |
14 | return $this->to; |
15 | } |
16 | |
17 | public function getSubject(): string { |
18 | return $this->subject; |
19 | } |
20 | |
21 | public function getContent(): string { |
22 | return $this->content; |
23 | } |
24 | } |