Conditions | 1 |
Paths | 1 |
Total Lines | 21 |
Code Lines | 19 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
32 | public function main() |
||
33 | { |
||
34 | $html = <<<EOT |
||
35 | <!DOCTYPE html> |
||
36 | <html lang="en"> |
||
37 | <head> |
||
38 | <meta charset="utf-8"/> |
||
39 | <title>Product Management</title> |
||
40 | <style> |
||
41 | body { |
||
42 | padding: 0; |
||
43 | text-align: center; |
||
44 | } |
||
45 | </style> |
||
46 | </head> |
||
47 | <body> |
||
48 | <h1>Product Management Service</h1> |
||
49 | </body> |
||
50 | </html> |
||
51 | EOT; |
||
52 | die($html); |
||
|
|||
53 | |||
65 |
In general, usage of exit should be done with care and only when running in a scripting context like a CLI script.