1 | <?php |
||
8 | class Response |
||
9 | { |
||
10 | /** |
||
11 | * Response macro to send a json response based on a domain payload. |
||
12 | * |
||
13 | * @return mixed |
||
14 | */ |
||
15 | public function jsonWithPayload() |
||
24 | |||
25 | /** |
||
26 | * Response macro to send a response based on a payload. |
||
27 | * |
||
28 | * @return mixed |
||
29 | */ |
||
30 | public function viewWithPayload() |
||
36 | } |
||
37 |