Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
10 | public function test() |
||
11 | { |
||
12 | $referer = $this->request->getReferer(); |
||
13 | $host = $this->request->getBaseUrl(); |
||
14 | |||
15 | $jsonData = [ |
||
16 | "Referer" => $referer, |
||
17 | "https" => $host, |
||
18 | "Message" => 'Ok message sent' |
||
19 | ]; |
||
20 | $result = $this->jsonResponse($jsonData); |
||
21 | echo $result; |
||
22 | |||
25 | } |