| @@ 166-173 (lines=8) @@ | ||
| 163 | { |
|
| 164 | switch ($this->getMethod()) { |
|
| 165 | case self::SHOW: |
|
| 166 | case self::DELETE: |
|
| 167 | return call_user_func_array([ |
|
| 168 | $this->getConnector(), |
|
| 169 | $this->getMethod(), |
|
| 170 | ], [ |
|
| 171 | $this->getUri(), |
|
| 172 | $this->getOptions(), |
|
| 173 | ]); |
|
| 174 | default: |
|
| 175 | return call_user_func_array([ |
|
| 176 | $this->getConnector(), |
|
| @@ 174-182 (lines=9) @@ | ||
| 171 | $this->getUri(), |
|
| 172 | $this->getOptions(), |
|
| 173 | ]); |
|
| 174 | default: |
|
| 175 | return call_user_func_array([ |
|
| 176 | $this->getConnector(), |
|
| 177 | $this->getMethod(), |
|
| 178 | ], [ |
|
| 179 | $this->getUri(), |
|
| 180 | $this->getData(), |
|
| 181 | $this->getOptions(), |
|
| 182 | ]); |
|
| 183 | } |
|
| 184 | } |
|
| 185 | ||