@@ 84-91 (lines=8) @@ | ||
81 | /** |
|
82 | * @return mixed |
|
83 | */ |
|
84 | public function getPayload() |
|
85 | { |
|
86 | if (!isset($this->payload)) { |
|
87 | $this->payload = json_decode(file_get_contents('php://input'), (bool) $this->options['json_decode_assoc']); |
|
88 | } |
|
89 | ||
90 | return $this->payload; |
|
91 | } |
|
92 | } |
@@ 109-116 (lines=8) @@ | ||
106 | /** |
|
107 | * @return mixed |
|
108 | */ |
|
109 | public function getPayload() |
|
110 | { |
|
111 | if (!isset($this->payload)) { |
|
112 | $this->payload = json_decode(file_get_contents('php://input'), (bool) $this->options['json_decode_assoc']); |
|
113 | } |
|
114 | ||
115 | return $this->payload; |
|
116 | } |
|
117 | } |
@@ 134-141 (lines=8) @@ | ||
131 | /** |
|
132 | * @return mixed |
|
133 | */ |
|
134 | public function getPayload() |
|
135 | { |
|
136 | if (!isset($this->payload)) { |
|
137 | $this->payload = json_decode(file_get_contents('php://input'), (bool) $this->options['json_decode_assoc']); |
|
138 | } |
|
139 | ||
140 | return $this->payload; |
|
141 | } |
|
142 | } |
@@ 74-81 (lines=8) @@ | ||
71 | /** |
|
72 | * @return mixed |
|
73 | */ |
|
74 | public function getPayload() |
|
75 | { |
|
76 | if (!isset($this->payload)) { |
|
77 | $this->payload = json_decode($_POST['payload'], (bool) $this->options['json_decode_assoc']); |
|
78 | } |
|
79 | ||
80 | return $this->payload; |
|
81 | } |
|
82 | } |