| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | public static function factory( |
||
| 24 | $message, |
||
| 25 | $httpStatus = null, |
||
| 26 | $httpBody = null, |
||
| 27 | $jsonBody = null, |
||
| 28 | $httpHeaders = null, |
||
| 29 | $Code = null |
||
| 30 | ) { |
||
| 31 | var_dump($message, $httpStatus, $httpBody, $jsonBody, $httpHeaders); |
||
|
|
|||
| 32 | $message = is_array($message) ? implode (", ", $message) : $message; |
||
| 33 | $instance = parent::factory($message, $httpStatus, $httpBody, $jsonBody, $httpHeaders,$Code); |
||
| 34 | return $instance; |
||
| 35 | } |
||
| 36 | } |