Total Complexity | 3 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class MobileVerificationMessage |
||
6 | { |
||
7 | /** |
||
8 | * @var string |
||
9 | */ |
||
10 | protected $token; |
||
11 | |||
12 | /** |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $to; |
||
16 | |||
17 | /** |
||
18 | * @param $to |
||
19 | * |
||
20 | * @return MobileVerificationMessage |
||
21 | */ |
||
22 | public function to($to): self |
||
23 | { |
||
24 | $this->to = $to; |
||
25 | |||
26 | return $this; |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @param $token |
||
31 | * |
||
32 | * @return MobileVerificationMessage |
||
33 | */ |
||
34 | public function token($token): self |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * @return Payload |
||
43 | */ |
||
44 | public function getPayload(): Payload |
||
48 | } |
||
49 | } |
||
50 |