Conditions | 2 |
Paths | 2 |
Total Lines | 17 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
9 | public final static function bind(string $confirmURL = ''): string |
||
10 | { |
||
11 | if (empty($confirmURL)) { |
||
12 | throw new \InvalidArgumentException('Please provide the confirmation URL'); |
||
13 | } |
||
14 | |||
15 | return ' |
||
16 | <!DOCTYPE html> |
||
17 | <html lang="en"> |
||
18 | <head> |
||
19 | <meta charset="UTF-8"> |
||
20 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
||
21 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||
22 | <title>Document</title> |
||
23 | </head> |
||
24 | <body> |
||
25 | Please confirm your email ' . $confirmURL . ' |
||
26 | </body> |
||
31 |